Google Analytics Enhanced Ecommerce tracking

Nate_Racklyeft
New Member
1 0 2

We are migrating from traditional e-commerce tracking on GA to the new "Enhanced Ecommerce" tracking.
Google's documentation (https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#migratio...) states that "The Enhanced Ecommerce plug-in should not be used alongside the Ecommerce (ecommerce.js) plug-in for the same property."
According to http://docs.shopify.com/manual/settings/general/google-analytics#ecommerce-tracking, the standard Ecommerce calls are made automatically during checkout. 

To fulfill the requirements, we'd like to disable those automatic calls made by the shopify platform. Has anybody been able to do this?

Replies 83 (83)
Jordan_L
Trailblazer
218 1 112

I was looking into why my analytics is reporting inflated ecommerce revenue (hint: refreshes on completed pages http://www.quora.com/E-Commerce/Why-would-Google-Analytics-report-a-higher-number-of-transactions-in... ) and while looking for a solution, I noticed Google has new Enhanced ECommerce Tracking" (ec.js). 

Very important for us to get this rolling in our shop just like Nate. Please let me know what needs to get done.

Jordan_L
Trailblazer
218 1 112

Supposedly "feature requests" go here. So if anyone finds this thread, please request this feature.

 

https://ecommerce.shopify.com/c/shopify-discussion/t/feature-requests-here-52781

Michael_Doyle
Shopify Partner
52 0 8

Incidentally if you were quite keen to get something up as quick as possible you could hack something together using an additional tracker/ua code. The theory would be to use the additional JS section in Shopify's Google Analytics dashboard settings to create the new GA tracker and run the ecommerce plugin on that tracker and then use the checkout page to fire the ecommerce data specific to that tracker. A bit hacky but the theory should work (you would also need to pass the Universal Analytics session string across to the myshopify subdomain). 

Of course the best solution would some type of implementation done by Shopify themselves...

A Positive10 Peep
Jordan_L
Trailblazer
218 1 112

If I controlled the entire checkout workflow process, I'd do it myself. Else I feel we're going to have to wait for shopify to implement something on their end. I would hope they'd be on top of stuff like this, since well....they make ecommerce software.

I couldn't find any other info on this other than this thread.

Jordan_L
Trailblazer
218 1 112

Any word shopify? No response from the feature-requests@shopify.com email I sent out 7 days ago. Curious what the timeline looks like, or if this is even on the radar?

 

Jordan_L
Trailblazer
218 1 112
Boni_Satani1
Tourist
49 0 3

@jordan - if you need quick solution, then the experts at tatvic can help you implement Enhance eCommerce on your store. 

P.S. We have already made a enhance ecommerce plugin for woocommerce store.

 

We Just Launched Our App - "Actionable Google Analytics". Start Your 15 Days Free Trial Now!
Jordan_L
Trailblazer
218 1 112

Explain how you'll make it work with shopify controlled checkout pages and issues with cross domain.

Michael_Doyle
Shopify Partner
52 0 8

Hi Jordan,

I wonder if something like this might work:

1) Create a new UA number to track enhanced ecommerce

2) Add the new UA number with a new tracker using the  "Additional Google Analytics Javascript" section (admin -> settings -> Google Analytics -> Additional Google Analytics Javascript) - something like

ga('create', 'UA-12345-6', 'auto', {'name': 'newTracker'});

ga('newTracker.send', 'pageview');

3) Enable enhanced ecommerce tracking for that new tracker

ga('create', 'UA-12345-6', 'auto', {'name': 'newTracker'});

ga('newTracker.require', 'ec');
/* although it might be ga('require', 'ec');*/

ga('newTracker.send', 'pageview');

This will effectively place the new UA code on every page of the check out process and run the enhanced ecommerce as well (specific to the new tracker... I think!). 

Now you need to configure all the additional ecommerce js events on each product page. You could do that by using an open js object variable and configure that within a theme. Something like

var ecommerce_info = {} /* lots of ecommerce data taken from product liquid object */

Because of the different action data types on offer (impression vs promotion vs product) you'd have to configure how the data fires. But I imagine that if you use the tracker name you can assign it to your new UA number:

ga('newTracker.ec:addImpression', {            // Provide product details in an impressionFieldObject.   'id': 'P12345',                   // Product ID (string).   'name': 'Android Warhol T-Shirt', // Product name (string).   'category': 'Apparel/T-Shirts',   // Product category (string).   'brand': 'Google',                // Product brand (string).   'variant': 'Black',               // Product variant (string).   'list': 'Related Products',       // Product list (string).   'position': 1,                    // Product position (number). });

For the checkout page there is a section within the shopify admin that allows you to input liquid code for ecommerce tracking. Under admin->settings->payment->Order Processing->Additional content & scripts - this appears on the thank you page so theoretically you could use this to build upon the enhanced ecommerce data (as in purchase data).

Thats the outline of what you can do - fairly flexible. Because you also have control over pretty much all pages during the checkout process (as it injects any JS code you put into the additional content section) you can also set up cross domain tracking as well.

Hope that helps - sorry if it is a bit all over the place but just wanted to give you a few ideas if you did want to give it a go..

Thanks,

Mike

A Positive10 Peep
Boni_Satani1
Tourist
49 0 3

@jordar - can you give me shout-out at boni@tatvic.com with your store url 

Look forward to your email.

Cheers!

We Just Launched Our App - "Actionable Google Analytics". Start Your 15 Days Free Trial Now!
Jordan_L
Trailblazer
218 1 112

Still looking for Shopify to respond to this. Been a Google feature for a while and I would like to take advantage of it for tracking and adword CPA optimizations.

AaronS
Shopify Staff (Retired)
Shopify Staff (Retired)
111 0 7

Enhanced Ecommerce is currently a beta feature in Google Analytics, and so we are looking to support this once it is officially out of beta. I will update this thread once that happens, or if we do enable this prior to the end of beta.

Aaron | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Boni_Satani1
Tourist
49 0 3

Hey All, 

We are having a webinar on Enhanced Ecommerce Tomorrow (9th Sept. 11:00 AM PT/ 2 PM ET) and I am extremely happy to invite you.

Webinar will be presented by Mike Kwong & Snehal Thakkar of Google. Both the Speakers are the driving force behind the development of Enhanced Ecommerce. 

We are going to cover:

  • Best Practices for Implementing Enhanced Ecommerce
  • Overview of Enhanced Ecommerce Reports
  • Analysis on Price Yield
  • How Coupons are impacting revenue & AOV of your online store

You can register here - http://tatvic.com/webinar/enhanced-ecommerce

See you at the Webinar!

Cheers!

Boni

 

We Just Launched Our App - "Actionable Google Analytics". Start Your 15 Days Free Trial Now!
Ivan_Nikolov
Tourist
4 0 2

I second Jordan's request!

SivaniDesigns.com
Joel_Drapper
Shopify Partner
75 0 4

Looks like it's out of beta now. Any update on this?

- Joel www.joeldrapper.com
Boni_Satani1
Tourist
49 0 3

@Joel - Nope its still in beta! 

Let me know if you need any professional help in implementing it.

We Just Launched Our App - "Actionable Google Analytics". Start Your 15 Days Free Trial Now!
Jordan_L
Trailblazer
218 1 112

I personally don't see anything on google end saying it's in beta.

Joel_Drapper
Shopify Partner
75 0 4

Me neither. I don't understand why Shopify won't support it. It's not likely that Google is going to decide that it was a silly idea to try to track additional eommerce information like when a customer adds an item to their cart, and remove the feature.

- Joel www.joeldrapper.com
Jordan_L
Trailblazer
218 1 112

No, they're moving in this direction and using the additional information for optimizing things like adwords. So IMHO, for those spending money on inbound marketing it's extremely important that this gets done.