I've been working with Google Analytics for a few years and frankly, I'm stumped. On one of our company sites (i.e. *not* an affiliate site). The trouble we're having is specifically with the e-commerce module. We're setup with e-commerce tracking and have deployed the Google tracking script within our shopping cart. The problem is that we're only seeing transactions credited towards two referring URLs; our domain and direct/none.
The tracking code we're using on our ad campaign links are formatted as follows: domain.com/landingpage.htm?utm_source=source&utm_medium=medium&utm_campaign=campaign-name
Are there any GA guru's out there that see anything missing here that might contribute to the problem?
The tracking code we're using on our ad campaign links are formatted as follows: domain.com/landingpage.htm?utm_source=source&utm_medium=medium&utm_campaign=campaign-name
Are there any GA guru's out there that see anything missing here that might contribute to the problem?
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-XXXXXXX-X");
pageTracker._setDomainName(".domain.com");
pageTracker._trackPageview();
pageTracker._setAllowHash(false);
pageTracker._setAllowLinker(true);
pageTracker._setCampaignTrack(true);
</script>
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-XXXXXXX-X");
pageTracker._setDomainName(".domain.com");
pageTracker._trackPageview();
pageTracker._setAllowHash(false);
pageTracker._setAllowLinker(true);
pageTracker._setCampaignTrack(true);
</script>