[Typo3] Google Analytics Script after meta tag

Jan-Hendrik Heuing [DD] jh at digitaldistrict.de
Tue Nov 15 21:44:07 CET 2005


Funny, I just had a look at it as well ;)

As I am not having time now, I'll get one of the guys tomorrow morning to 
write a small extension for it. We could just publish it if you like....

JH


"Eric Blom" <ericb at piap.com> schrieb im Newsbeitrag 
news:mailman.3867.1132084984.24650.typo3-english at lists.netfielders.de...
> 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