Community Forums 

Main Content

Re:Using Google Analytics to Track Sales Conversions

    Sep 10 2008 14:55:17

    #1

    comerchant

    Join date : 2008-09-18      Posts : 6

    tom g said: Edited: Here is the code we use:

    <script type="text/javascript">
    var pageTracker = _gat._getTracker("your_google_analytics_ID");
    pageTracker._initData();
    pageTracker._trackPageview();
    </script>

    Thanks Tom. I was a bit confused by the coding as they differ slightly. On Google's page for "How do I use GA to track a 3-rd party shopping cart? they instruct you to add the following line to your coding for tracking orders.

    pageTracker._setDomainName("none")

    So you're saying is still works even without the coding addition?