Since october, when I updated to new asynchronous script from Google, I've been unable to get ecom data. I've tried going back to old code, but no matter what I've tried no success. If I view the page source on my INVC page, I can see that it's passing what should be data on the order (encoded). Help!
google analytics- ecommerce settings
Collapse
X
-
google analytics- ecommerce settings
-
Re: google analytics- ecommerce settings
Looks like you have some leftover tracking code from a previous integration in your footer. This snippet is considered duplicate and it is using _initData() which is a deprecated function, known to cause ecommerce conversion tracking to fail.
Code:<script type="text/javascript">var pageTracker = _gat._getTracker("UA-XXXXXXX-X"); pageTracker._initData(); pageTracker._trackPageview('/store/storefront.html'); </script>
-
Re: google analytics- ecommerce settings
trying now...I'll check analytics tomorrow to see if that did the trick... Thanks Dan!
Comment
-
Re: google analytics- ecommerce settings
I'm still not receiving the ecom data... live stats is still working.
Comment
-
Re: google analytics- ecommerce settings
Recommend running a test order using Chrome w/ Google Tag Assistant enabled to see what errors are reported and resolve accordingly. If you are in need of professional Google Analytics integration/diagnostic services, please feel free to reach out to us.
Comment
-
Re: google analytics- ecommerce settings
I had some google translate code that was interfering... good tip on tag assistant... fired correctly, so hopefully I'll start getting fresh data tomorrow!
Comment
-
Re: google analytics- ecommerce settings
okay... I just got a new order, and it popped up in analytics almost instantly...
Comment
Comment