6.2K members online now
6.2K members online now
Dive into advanced features like Remarketing, Flexible Bid Strategies, AdWords Editor, and AdWords Scripts
Guide Me

Advanced Analytics Cross Domain Tracking

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi All,


I have a beautiful question to you. The cross domain analytics codes are implemented properly, so we can see both of the domains' visitors under one analytics client. The problem is that on the site there is no href nor form to put the _link method, because a javascript makes the linking with a window.location = link call.


As far as i could go, i think a little modifying in the javascript would be fine:


$(".result_submit").click(function() {

    window._gaq.push(["_link", link]); window.location=link;



What do you think? Would it be working? Do you have some better ideas?


Many thanks in advance,



1 Expert replyverified_user

Re: Advanced Analytics Cross Domain Tracking

Google Employee
# 2
Google Employee

Hey Adam,


Thanks for posting your question. You may get a better answer in the Analytics forum under Tracking Code Snippet. There's tons of fun stuff there.