Tuesday, December 5, 2017

How to track Ecommerce in Google Analytics

I've been working on E-commerce tracking today.

(1)  I did all the settings in Google Analytics
Enable Ecommerce for a view
  1. Sign in with Google Analytics.
  2. Click Admin, and navigate to the view you want.
  3. In the VIEW column, click Ecommerce Settings.
  4. Set Enable Ecommerce to ON.
  5. Optional: Set Enable Related Products to ON.
  6. Click Next step.
  7. Click Submit.        

                                                                           
            
(2) I followed this instruction to set up the Enhanced E-commerce

 https://support.google.com/tagmanager/answer/6107169

(3) I received a message from Analytics:
your website is configured for E-commerce, but no recent transaction data is being received. Your site may not be tagged for E-commerce.

(4) I tried to follow

https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#ecommerce-data

to find the solution

(5) I tried to


Insert Ecommerce Tracking Code

ga('create', 'UA-XXXXX-Y', 'auto');
ga('create', '
UA-XXXXX-Y', 'auto', 'clientTracker');

ga('send', 'pageview');
ga('clientTracker.send', 'pageview');
ga('require', 'ec');
ga('ecommerce:send');

(6) Shova, the programmer, is inserting the sample code now, we'll see if it's gonna work or not.




No comments:

Post a Comment