I have installed the module into my site and make sure the boxes were set to track all users and not just registered etc. I have inserted my analytics code. However, google continues to say TRACKING CODE NOT DETECTED. I have tried inserting the code into a block instead and putting it at the header, footer and all that good stuff but still nothing. Any ideas ?

Comments

Techplatoon’s picture

I have just also tried inserting the google analytics code into page.tpl.php right before the tag. And still nothing. Not for a lack of trying. Cheers.

Techplatoon’s picture

Wierd, works now with the page.tpl.php code insert but the module still does not work. Just thought i would let you know. Thanks.

zwadderneel’s picture

I can't get it to work either.

criden’s picture

I have the same issue but with Garland: the module hasn't added the tracking code to pages. The code shows in the HTML source, and tracking works, when the code is manually inserted into page.tpl.php.

modctek’s picture

Version: 5.x-1.0 » 5.x-1.3

I was unable to get 1.3 to work. I could see the script in the HTML source, but Google Analytics was not picking it up. Adding the script manually to my page.tpl.php finally confirmed the tracking code. This seems like a great idea, I hope this is a fixable bug.

budda’s picture

Strange. Do you have the tracking code enabled for anonymous users? If you view the page source when not logged in (which is how GAnalytics will see it) is the JavaScritp present?

modctek’s picture

Yup. Even confirmed it by logging out, refreshing and checking the source. The code was there, but GA just couldn't see it. The only thing I can think of that may be different from manually pasting the code into my page.tpl.php is that while using the module I tried caching the urchin.js locally using the module checkbox. I confirmed that my file system is set for public download, and that the appropriate javascript file was actually where it was supposed to be, but no dice.

budda’s picture

Try turning off the local caching. I've personally never used it so can't say it works. It was a user submitted patch.

hass’s picture

Status: Active » Closed (duplicate)