mikeblacken
11-22-2010, 06:13 PM
Hello All,
I have read every bit of documentation I can get my hands on to properly track Analytics across two domains. I thought I had everything setup perfectly, but as I look over the reports, it's clear that I do not. After spending the past 3 days banging my head against the keyword (which, BTW, did not help solve the problem) I decided to post here in case anyone has any ideas.
My Sales pages are here: www.domain.com
My signup pages (which I use to track goals) are here: http://signup.sample.com/signup/
My Goal setup looks like this:
Match Type: Regular Expression Match
Goal URL: /signup/step3
Step 1: /signup$ (required)
Step 2: /signup/step2
The reason I assume this is NOT working is because when I view the content report for the page "http://signup.sample.com/signup/" it always shows me that the user STARTED on that page.
If I go to my Funnel Visualization report, it just shows "(entrance)", which based on my understanding is GA telling me that everyone went to "http://signup.sample.com/signup/" directly.
While I wish everyone was just going directly to my signup page, there is no way that is happening. They must be viewing pages on my sales pages (at www.domain.com) and then clicking the signup link.
I can only assume that I have done something wrong and I'm hoping someone can give me a push in the right direction. It is *VERY* much appreciated!
Here is the tracking code I have installed (above the /HEAD tag) on domain.com (my sales pages):
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-123456-2']);
_gaq.push(['_setDomainName', '.domain.com']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
Here is the tracking code I have installed on signup.sample.com (my signup pages):
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-123456-2']);
_gaq.push(['_setDomainName', 'signup.sample.com']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
Whenever I have a link on my sales pages to the signup pages, I use the following code:
<a href="http://signup.domain.com" onclick="_gaq.push(['_link', 'http://signup.domain.com']); return false;">Signup</a>
I'm assuming I am doing something wrong and the cookie is not being passed between domains.
Any insight is so very much appreciated! :)
Thanks in advance!
I have read every bit of documentation I can get my hands on to properly track Analytics across two domains. I thought I had everything setup perfectly, but as I look over the reports, it's clear that I do not. After spending the past 3 days banging my head against the keyword (which, BTW, did not help solve the problem) I decided to post here in case anyone has any ideas.
My Sales pages are here: www.domain.com
My signup pages (which I use to track goals) are here: http://signup.sample.com/signup/
My Goal setup looks like this:
Match Type: Regular Expression Match
Goal URL: /signup/step3
Step 1: /signup$ (required)
Step 2: /signup/step2
The reason I assume this is NOT working is because when I view the content report for the page "http://signup.sample.com/signup/" it always shows me that the user STARTED on that page.
If I go to my Funnel Visualization report, it just shows "(entrance)", which based on my understanding is GA telling me that everyone went to "http://signup.sample.com/signup/" directly.
While I wish everyone was just going directly to my signup page, there is no way that is happening. They must be viewing pages on my sales pages (at www.domain.com) and then clicking the signup link.
I can only assume that I have done something wrong and I'm hoping someone can give me a push in the right direction. It is *VERY* much appreciated!
Here is the tracking code I have installed (above the /HEAD tag) on domain.com (my sales pages):
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-123456-2']);
_gaq.push(['_setDomainName', '.domain.com']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
Here is the tracking code I have installed on signup.sample.com (my signup pages):
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-123456-2']);
_gaq.push(['_setDomainName', 'signup.sample.com']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
Whenever I have a link on my sales pages to the signup pages, I use the following code:
<a href="http://signup.domain.com" onclick="_gaq.push(['_link', 'http://signup.domain.com']); return false;">Signup</a>
I'm assuming I am doing something wrong and the cookie is not being passed between domains.
Any insight is so very much appreciated! :)
Thanks in advance!