Community Forums 

Main Content

Re:Using Google Analytics to Track Sales Conversions

    Sep 10 2008 03:17:44

    #1

    comerchant

    Join date : 2008-09-18      Posts : 6

    Edited: Another question... when using the special Google Analytics coding in product pages do you also have to use that same coding in other site pages such as the home page, contact or about pages or can the standard coding be used on those pages?

    Also which coding is correct

    '<script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-000000-1");
    pageTracker._setDomainName("none");
    pageTracker._initData();
    pageTracker._trackPageview();
    </script>'

    or

    '<script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-000000-1");
    pageTracker._setDomainName("none");
    pageTracker._setAllowLinker(true);
    pageTracker._trackPageview();
    </script>'

    Also I thought I'd mention that we also use scodes so I'm hoping everything will work out wonderfully.