Design Cart - Online Shopping Cart Easy Dynamic Secure Scalable

Help Search our knowledge base:

Index - FAQ - Cart Help Buttons - Cart Settings - 8. Advanced Settings

 Where is this feature?
1. Log In
2. Cart Settings
3. Advanced Settings

 Related Items
1. Setting up a Google Analytics Goal
2. Using Google Analytics with a custom header/footer.

 Details
Frequently Asked
Question (FAQ)

Document Number: 956

Optimize for Printing
E-Mail This Link

 Feedback
This document ...
helps resolve my question or problem.
does not apply to my question or problem.
is inaccurate for my question or problem.
Google Analytics ID

Contact Google for complete integration details.

When creating your profile within Google use the following:
Profile Name: www.designcart.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)
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-XXXXX-X']);
  _gaq.push(['_trackPageview']);

  (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';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

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 breif summary of the modification needed is to add the red text to your add to cart form tag
<form action="https://www.designcart.net/cgi-bin/cart.cgi" onsubmit="_gaq.push(['_linkByPost', this]);">
Or to add this modification if your using an anchor tag
<a href="https://www.designcart.net/cgi-bin/cart.cgi" onclick="_gaq.push(['_link', 'https://www.designcart.net/?login=parameters']); return false;">
SSL Copyright © DesignCart 2000-2017 - All Rights Reserved
Privacy Policy         Terms of Use         FAQ's         Contact Us         Site Map
HACKER SAFE certified sites prevent over 99.9% of hacker crime.