How-To Google Analytics with Typo3
12. January 2008
After the last line of TypoScript in the Setup section of the web site root template, place code like this:
Why does this work?
The following code shows how to do multiple line wrap, with all the content placed after the rest of the page content that has already been built by Typo3.
page.wrap ( | ... )
For multiple line values its important that the opening and closing rounded brackets are on their own line or it doesn’t take effect, likewise, make sure you don’t put in an equals = operator before the first opening curly bracket.
Note: Its recommended to have simulateStaticDocuments or realURL configured to be able to get the best kind of analysis with Google Analytics.