**Urgent eCommerce Tracking, Gogole Analytics Help Needed**

Discussion in 'Google' started by misch.chief, May 21, 2008.

  1. #1
    Hello all,

    I have recently tried to install eCommerce tracking to Google Analytics and am having big problems receiving data.

    Here is a copy of the code that is attached to the shopping basket once a transaction has been made - can anyone who knows there stuff see anything blindingly obvious and wrong?!!

    <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-2802558-1");
    pageTracker._initData();
    pageTracker._trackPageview();
    </script>

    script type="text/javascript">
    //<![CDATA[
    pageTracker._addTrans(
    "W0073d",
    "",
    "155",
    "0",
    "0",
    "Southampton",
    "Hampshire",
    "United Kingdom"
    );

    pageTracker._addItem(
    "W0073d",
    "M643C",
    "Method Zip Hoody She Storm Camoâ„¢ Ice Grey XXL",
    "",
    "75.0000",
    "1"
    );

    pageTracker._addItem(
    "W0073d",
    "U6201",
    "Recordpak MK 4 Military Olive ONE",
    "",
    "50.0000",
    "1"
    );

    pageTracker._addItem(
    "W0073d",
    "M612X",
    "Mo' Deep Mo' Phunky Yellow S",
    "",
    "30.0000",
    "1"
    );

    //]]>
    </script>

    Thanks for your help in advance, if any!!

    Misch
     
    misch.chief, May 21, 2008 IP