Hello,

I'm using the the itheme on Drupal 5.3. I installed the module correctly and I was able to find and turn on the the Google Analytics module and then be able to configure it. Then when I'm logged in or logged out and go to my homepage and view page source, the analytics code is no where to be found, and it doesn't show up in Google Analytics when I check the status.

I also tried to manually put in Google Analytics in my template pages with This code that Google gives, and I also just tried to throw it directly into the page.tpl.php, and throw it in there with a php print statement. Lastly, I played around with the Print $closure statement and that didn't work either.

Can anyone help me out with this? I'd be greatly appreciative. =]

Comments

hass’s picture

Status: Active » Postponed (maintainer needs more info)

Have you checked the roles that should be tracked? You need the closure variable or nothing get's added. Check a page outside admin section and look into source code... it must be there if you have configured roles to be tracked and a GA account number.

sign’s picture

The problem is in iTheme.
It is missing $closure variable.

see http://drupal.org/node/150186

hass’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)
BWoelkers-1’s picture

Status: Closed (duplicate) » Closed (fixed)

After playing with the $closure statement more I got it working. For some reason I added it after the body tag and now it works fine. Thanks for the help!

hass’s picture

Status: Closed (fixed) » Closed (duplicate)
mikepetersonwi’s picture

#2 is also the problem with the kexolid theme