KevySaysBeNice
[H]ard|Gawd
- Joined
- Dec 7, 2001
- Messages
- 1,452
Hi all!
So, I'm trying to figure out why my ecommerce/conversion data isn't making it into GA's eCommerce tab. It was working, and then all of a sudden it stopped showing up in GA sometime in April. Long story short, this is automatically generated by Magento (in the example below the addTrans value is nothing because I checked out with a coupon making the order free, but normally the correct transaction totals/etc are shown).
The thing is, the other traffic on the site hasn't changed at all - in other words the more "basic" tracking is still working, nothing has changed there. But it was one particular day (in which I'm sure I updated/changed something, but I don't know what) that the eCommerce data just stopped coming to GA. I'm not sure how best to trouble shoot this. The tracking code is below, which is what shows up on the "success" page after checking out, and from what I can tell everything seems A-OK.
Any hints/tips/ideas about what might be happening, or how to go about troubleshooting this? My guess is it's something really simple, I'm just not seeing it!
Thanks all <3
So, I'm trying to figure out why my ecommerce/conversion data isn't making it into GA's eCommerce tab. It was working, and then all of a sudden it stopped showing up in GA sometime in April. Long story short, this is automatically generated by Magento (in the example below the addTrans value is nothing because I checked out with a coupon making the order free, but normally the correct transaction totals/etc are shown).
The thing is, the other traffic on the site hasn't changed at all - in other words the more "basic" tracking is still working, nothing has changed there. But it was one particular day (in which I'm sure I updated/changed something, but I don't know what) that the eCommerce data just stopped coming to GA. I'm not sure how best to trouble shoot this. The tracking code is below, which is what shows up on the "success" page after checking out, and from what I can tell everything seems A-OK.
Any hints/tips/ideas about what might be happening, or how to go about troubleshooting this? My guess is it's something really simple, I'm just not seeing it!
Thanks all <3
Code:
<!-- BEGIN GOOGLE ANALYTICS CODE -->
<script type="text/javascript">
//<![CDATA[
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
})();
var _gaq = _gaq || [];
_gaq.push(function() {
// the global variable is created intentionally
pageTracker = _gat._getTracker('UA-981482-1');
pageTracker._trackPageview();
});
_gaq.push(['_addTrans', '200004895', 'Events', '0.0000', '0.0000', '0.0000', 'San Francisco', 'California', 'US']);
_gaq.push(['_addItem', '200004895', 'LD-adult', 'Tshirt', '', '11.0000', '1.0000']);
_gaq.push(['_trackTrans']);
//]]>
</script>
<!-- END GOOGLE ANALYTICS CODE -->