[TYPO3-english] how to include google analytics

Andreas Lappe nd at off-pist.de
Thu Feb 12 18:13:46 CET 2009


On 12.02.09, StephenBungert wrote:
> Use the PAGE object:
> page {
>   ### JS Includes ###
>   ### ----------- ###
>   includeJS {
>      file1 = fileadmin/path_to/javascript/file_name.js
>      file1.type = text/javascript
>   }
> }

Or better yet, use m1_google_analytics from typo3.org/extensions because
it puts the JS on the end of the <body>, so it doesn't block your
loading of the site.

So long
Andy
-- 
``They´´ were always out there, destroying countries, inventing borders,
plotting complicated schemes understood only among themselves. Throwing
water in the wine and filling the papers with shit.
[Paco Ignacio Taibo II, Four Hands]


More information about the TYPO3-english mailing list