Page 1 of 1

Google Analytics

Posted: Mon Jul 28, 2008 12:30 pm
by albatreeq
How do I put Google Analytics code on each and every page? :(

Re: Google Analytics

Posted: Mon Jul 28, 2008 12:45 pm
by mazhar
Use Configure->Page Tracking page on Merchant Side.

Re: Google Analytics

Posted: Mon Jul 28, 2008 1:02 pm
by albatreeq
Sorry for my ignorance. Should I put the below code in the header section of "Footer With Google Analytics" scriptlet?

Code: Select all

<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._initData();
pageTracker._trackPageview();
</script>

Re: Google Analytics

Posted: Mon Jul 28, 2008 1:20 pm
by mazhar
Just go to the Merchant Side and from the top menu navigate to the Configure->Page Tracking.

And provide your account id in Google Urchin ID text field and check the Enable Page Tracking: check box.

The detailed information about these options and their requirements are listed on the same page you can read them as well.

TIP If you want to enable page tracking for complete store just add the [[ConLib:GoogleAnalyticsWidget]] to the Standard footer scriptlet

Re: Google Analytics

Posted: Mon Jul 28, 2008 1:27 pm
by sohaib
Sorry for my ignorance. Should I put the below code in the header section of "Footer With Google Analytics" scriptlet?
Hello,

You don't need to add any code anywhere. The integration is done already for you. You just need to provide the Google Urchin ID to Ablecommerce. All your pages that use a footer scriptlet that has [[ConLib:GoogleAnalyticsWidget]] in it will be tracked. You can either add this text manually in your footer scriptlet or just use 'Footer With Google Analytics' footer.

Re: Google Analytics

Posted: Mon Jul 28, 2008 2:18 pm
by Shopping Cart Admin
Hello,

This if fully documented in our help site:

http://help.ablecommerce.com/mergedProj ... lytics.htm