[Typo3] Google Analytics Script after meta tag

Eric Blom ericb at piap.com
Wed Nov 16 03:10:24 CET 2005


To update everyone.

I contacted Google about my report because it still says "waiting on  
data". I was concerned that the position in the script was causing a  
problem. I received an email from Google saying that they were  
collecting data from my site and that they are experiencing delays in  
processing, "due to overwhelming demand". Therefore, it seems that  
the page.headTag solution will work.

I'll update this topic again when I actually see the data at Google.

Cheers,
Eric



On Nov 15, 2005, at 12:03 PM, Eric Blom wrote:

> I'm trying to setup Google Analytics with Typo3. Google says that
> their script must be installed in the <head> </head> section of your
> page but after any <meta> tags.
>
> I tried adding page.headTag to the setup of my template as shown
> below, but, this puts the script before the meta tags.
>
> page.headTag = <head><script src="http://www.google-analytics.com/
> urchin.js" type="text/javascript"></script><script type="text/
> javascript"> _uacct = "UA-xxxxx-x"; urchinTracker();</script>
>
> Can anyone tell me how to add a script after the meta tags in the
> head section?
>
> Thank you,
> Eric



More information about the TYPO3-english mailing list