Multi domain tracking - mysite.com appears as Referral. What to do with the code?

Discussion in 'Google Analytics' started by seto25, Mar 22, 2010.

  1. #1
    Hi,

    Please help, cause we really don't know what to do!

    So - we have the folloiwng multidomain interactions:
    MySite.com -> SecuredCart.com -> BankPage.com ->SecuredCart.com/thankyou-page.html

    I have set the GATC script on every page, except BankPage.

    In my Analytics reports it shows that all conversions come as "MySite.com / refferal".
    So, the PROBLEM is that I can’t see the real sources that bring conversions.

    WHAT TO PUT IN CODE, to make it work?


    Current codes are:

    1. This code is on Top (e.g. ABOVE of the onclick= button):

    <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-xxxxxxx-x");
    pageTracker._setDomainName("none");
    pageTracker._setAllowLinker(true);
    pageTracker._trackPageview();
    </script>
    --

    2. Button between MySite.com and SecuredCart.com domains:

    <a id="sendButton" style="font-size: 14px; background-image: url(../images/design/button.png); background-position: 0px -12px; padding-top:4px;" href="https://securedcart.com/webmmc/?WEBMMCc=11&WEBMMCp=14" onclick="pageTracker._link(this.href); return false;">Buy Now</a>


    What should I put in the code, to make it work?

    Thank you all!
     
    seto25, Mar 22, 2010 IP