Hi,

I wondered just a few days ago that my Google Analytics Adsense report was not showing any values anymore although both accounts were connected correctly, I had Adsense income and this report worked a longer time ago... after checking and experimenting I found out that Adsense is not tracked anymore in my Google Analytics account as soon as I check "One domain with multiple subdomains" in Drupal Google Analytics modules setting - when I turn back to "A single domain (default)" I find values again within Google Analytics when I have a look into the Adsense report.

Is this a bug? Do I miss something? I found out that there is a newer version of this module. I will update this module now and turn on "One domain with multiple subdomains" again to check if this issue persists with the latest version.

Best,
Tobias

Comments

hass’s picture

Category: bug » support
Status: Active » Fixed

6.x-3.3 is no longer supported.

Adsense only requires to add 'window.google_analytics_uacct = [UA-] to the page and nothing else as I know, but I could be wrong. If you found out that there are other things required, please let me know. Please ask Google about this bug and report back here your findings.

tobiberlin’s picture

Version: 6.x-3.3 » 6.x-3.5

Ok, I found out what causes this problem... for Adsense you just need to add

google_analytics_domain_name = ".domain.de";

when you track subdomains of ".domain.de" with Analytics.

http://support.google.com/adsense/bin/answer.py?hl=en&answer=99906

hass’s picture

Category: support » bug
Status: Fixed » Active

Ok, thanks for this. Moving to a bug to get this fixed.

hass’s picture

http://support.google.com/adsense/bin/answer.py?hl=en&answer=98142&topic... allows moving adsense code to lower position, too.

hass’s picture

Version: 6.x-3.5 » 7.x-1.x-dev

Multiple top-level domains is not well documented and seems to require:

window.google_analytics_domain_name = "none";
hass’s picture

Title: When "One domain with multiple subdomains" -> Adsense get not tracked in Anayltics?! » Support Adsense in "One domain with multiple subdomains" and "Multiple top-level domains"
hass’s picture

Status: Active » Needs review
StatusFileSize
new2.65 KB
hass’s picture

Status: Needs review » Fixed
hass’s picture

Version: 7.x-1.x-dev » 6.x-3.x-dev
Status: Fixed » Needs review
StatusFileSize
new1.41 KB
hass’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit edbd034 on 6.x-4.x by hass:
    Issue #1871934: Support Adsense in "One domain with multiple subdomains"