Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

(Cross-posted to Web Applications)

I've posted it once to the adsense ad forum, but as usual Google does not respond to help requests, and I got no real answers.

I am having issues integrating my Adsense and Analytics accounts on my website - http://draw3cards.com. The accounts seem integrated from Adsense (I get a working "go to analytics" link), but all the analytics are flatlined - they show zero revenues although they are non-zero.

What can I do to resolve this?

share|improve this question
    
I strongly recommend asking over at the webapps Stack Exchange site, they're probably better informed to assist. –  Mark Henderson Sep 6 '10 at 21:41
    
@Farseeker - thanks, done. –  ripper234 Sep 7 '10 at 7:47
    
And it's called AdSense :) –  kitsched Sep 7 '10 at 7:48
1  
@Farseeker: why? This seems like a webmaster question to me. –  delete Sep 8 '10 at 5:53
1  
@Farseeker - it's definitely off topic for web apps. –  ChrisF Sep 8 '10 at 21:48
show 1 more comment

2 Answers

up vote 3 down vote accepted

Have you selected your domain as the Primary domain? If you have multiple sites you will need to select a primary domain, then put a small bit of code on each of the other sites.

To set the primary domain and get the required code, from Analytics home click the "Edit AdSense linking settings" link at the top of the page. First tick the sites you want to link. On the next step you can choose your primary domain, then get the code for the others.

share|improve this answer
    
Alright, I updated the primary domain, it really wasn't the one that I had. I will see if this works. –  ripper234 Sep 8 '10 at 8:47
    
Wonderful, it works! –  ripper234 Sep 9 '10 at 6:12
add comment

I've posted it once to the adsense ad forum, but as usual Google does not respond to help requests, and I got no real answers.

Google are pathetic at interacting with human beings. If anything brings that company down, I suspect it will be that.

I am having issues integrating my Adsense and Analytics accounts. The accounts seem integrated from Adsense (I get a working "go to analytics" link), but all the analytics are flatlined - they show zero revenues although they are non-zero.

The first thing to check is that the ID at the top of your page is the right one. You should have a bit of text which looks like this:

<script type="text/javascript"> 
window.google_analytics_uacct = "UA-ABCDEFGH-J";
</script> 

where ABCDEFGH-J is the number that Google gave you. You can check it's the right one using the "Analytics Settings" page of Google Analytics. If this number is wrong then the integration will not work correctly. Then at the bottom of the page there should be something like this:

<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"> 
try {
var pageTracker = _gat._getTracker("UA-ABCDEFGH-J");
pageTracker._trackPageview();
} catch(err) {}</script> 
share|improve this answer
    
The text 'window.google_analytics_uacct' doesn't appear on my page. I added the address of my website to the question. –  ripper234 Sep 8 '10 at 7:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.