Google Analytics Goal Tracking on different domains

by 2 replies
3
Hi all,

I hope this is the right category to ask this question. I need to configure Google analytics goal conversion tracking. I'm selling an ebook on my website which is delivered by a third party file-delivery service (getdpd.com). I have installed analytics code in both my website landing page and also on the delivery page of getdpd.com.

The code on my website has the following part in it:

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxxxxxx-15']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setDomainName', '.mywebsite.com']);
_gaq.push(['_trackPageview']);



The code on the file-delivery page has the following part in it:

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxxxxxx-15']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_trackPageview']);



However the tracking does not work. Anyone has any idea if I'm missing something?

Thanks
#programming #analytics #domains #goal #google #tracking
  • you try on the download links onclick handler try adding
    javascript:_gaq.push(['_trackPageview', 'Ebook_Downloaded']); or
    javascript:_gaq.push(['_trackPageview', 'ebookdownloadurl']);
    • [ 1 ] Thanks
    • [1] reply

Next Topics on Trending Feed

  • 3

    Hi all, I hope this is the right category to ask this question. I need to configure Google analytics goal conversion tracking. I'm selling an ebook on my website which is delivered by a third party file-delivery service (getdpd.com). I have installed analytics code in both my website landing page and also on the delivery page of getdpd.com.