Log in

View Full Version : Google Analytics - best place to put the code?


michaelsilvia
06-06-2006, 07:35 AM
I finally got a Google analytics account after months of waiting. Where is the best place to put the code? I am guessing in the headinclude or footer template?

Google suggests:

Copy the following code block into every webpage you want to track. Click in the box below to select all code. Copy and paste the code segment into the bottom of your content, immediately before the </body> tag of each page you are planning to track. If you use a common include or template, you can enter it there.

peterska2
06-06-2006, 08:15 AM
From what it says in those instructions, I would put it in the footer template.