Problems with _TrackTrans and Organic/Referral

Discussion in 'Google Analytics' started by Thomas_G, Mar 15, 2010.

  1. #1
    Hi ppl, We have a big big Problem::confused:

    It is an OnlineShop with the following properties:

    The Host is somthing like „HTTP://domain.de (.us/.ca/.it)“ and the Checkout-System is for all the shops like „HTTPS://secure.domain.tv“

    The problem is that GA analyzes all transactions as (direct).


    The GA secure.domain.tv cookie is passed by "_linkByPost ()" to "HTTPS://secure.domain.tv" .
    Itis stored at the first call in a SESSION, and on the "Thank you" page again appended to the URL.

    GATC for shop is:
    ======================================================================
    <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">
    try {
    var pageTracker = _gat._getTracker("UA-xxxxxxxx-1");
    pageTracker._setDomainName("none");
    pageTracker._setAllowLinker(true);
    pageTracker._trackPageview();
    } catch(err) {}
    </script>
    ======================================================================



    GATC for the Thank you page is:
    ======================================================================
    <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\">
    try{var pageTracker = _gat._getTracker('UA-XXXXXXXX-1');
    pageTracker._trackPageview();

    pageTracker._addTrans("14544","","341.70","54.56","","TSHIRT","","US");
    pageTracker._addItem("14544", "12207", "Xadoo", "TSHIRT", "115.90", "1");
    pageTracker._trackTrans();
    }
    catch(err) {}
    </script>


    Thank You all
     
    Thomas_G, Mar 15, 2010 IP