Google Analytics ID
| Where is this feature?|
|1. ||Log In|
|2. ||Cart Settings|
|3. ||Advanced Settings|
Contact Google for complete integration details.
When creating your profile within Google use the following:
Profile Name: www.globalcart.net/cgi-bin/cart.cgi
Ecommerce site: Yes
Once you have successfully setup your Google Analytics pages, Google will provide a snip of HTML as shown below.
|Google Analytics Code (asynchronous _gaq.push)|
var _gaq = _gaq || ;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script'); s.parentNode.insertBefore(ga, s);
Enter the value shown in red as your Google Analytics ID value. The shopping cart will then automatically configure itself for both visitor and ecommerce tracking.
After completing all the steps above go back into your Google account and edit the shopping cart profile. On the top of the edit page in Google there is a "check status" button that you can use to make certain everything is setup properly.
If you already have your shopping cart buttons setup, you may need to modify them according to the following Google FAQs:
Using analytics with the traditional pageTracker or the new asynchronous _gaq.push page tracker.
A brief summary of the modification needed is to add the red text to your add to cart form tag
Or to add this modification if your using an anchor tag
|<form action="https://www.globalcart.net/cgi-bin/cart.cgi" onsubmit="_gaq.push(['_linkByPost', this]);">|
|<a href="https://www.globalcart.net/cgi-bin/cart.cgi" onclick="_gaq.push(['_link', 'https://www.globalcart.net/?login=parameters']); return false;">|