
Google Analytics
Google Analytics
How do I put Google Analytics code on each and every page? 

Re: Google Analytics
Use Configure->Page Tracking page on Merchant Side.
Last edited by mazhar on Mon Jul 28, 2008 1:22 pm, edited 2 times in total.
Re: Google Analytics
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
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
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
Hello,Sorry for my ignorance. Should I put the below code in the header section of "Footer With Google Analytics" scriptlet?
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.
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: Google Analytics
Hello,
This if fully documented in our help site:
http://help.ablecommerce.com/mergedProj ... lytics.htm
This if fully documented in our help site:
http://help.ablecommerce.com/mergedProj ... lytics.htm