AdWords
1.8K members online now
1.8K members online now
Use AdWords conversion tracking and reporting to measure your results. Have a question about Google Analytics? Post it here, on the Google Analytics Community!
Guide Me
star_border
Reply

conversion tracking across multiple primary domains

Follower ✭ ✭ ☆
# 1
Follower ✭ ✭ ☆

Hi,

 

I recently made a new vertical website next to my main websites with all my other products. I want to track conversions across these two different domains. Currently I have the following setup for my two websites:

 

- ABC.com : is the new website were I give information on my new product. There is a contact-us button that links to the contact page on my original website XYZ.com. The ABC.com website contains the following GA-code:

 

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-xxxxxxx-1']);
  _gaq.push(['_setDomainName', 'abc.com']);
  _gaq.push(['_setAllowLinker', true]);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src=('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

 

-  XYZ.com : this is my original website, which contains my contact-page and form. This is where people actually fill in the form and convert. I've set up a conversion goal on the thank-you page URL of this form.
This is the code I implemented on this website:

 

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

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src=('https:' == document.location.protocol ? 'https://' : 'http://') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

 

However, this doesn't seem to be working. Anyone who can tell me what I'm doing wrong? Do I need a link() function somewhere?

 

Thanks in advance!

 

Steven

1 Expert replyverified_user

Re: conversion tracking across multiple primary domains

Top Contributor
# 2
Top Contributor
Hi Steven,

So, the AdWords click comes into abc.com, then the visitor goes to xyz.com to fill out the form and convert?

The way you have this setup, the AdWords cookie won't be passed to xyz.com. You should be able to record goal completions, but you won't be able to attribute those conversions to the source.

You might want to change the domain names, make them both xyz.com. That should cause the AdWords cookie created from the click to go to xyz.com instead of abc.com. That should allow you to track the performance of your AdWords campaign.

Best of Luck!

Pete
petebardo -- Deadhead doing AdWords

Re: conversion tracking across multiple primary domains

Follower ✭ ✭ ☆
# 3
Follower ✭ ✭ ☆
Hi Pete,

Do you mean in the setdomain field then? Cause really changing the domain names is unfortunately not possible.

Kind Regards,

Steven