PDA

View Full Version : Google Analytics



dcabrams
01-04-2009, 08:45 AM
I would like to use Google Analytics to provide me with visitor data and whatnot on my site (I prefer Google's layout to Webalizer and Awstat's).

However, I just cannot figure out HOW to paste the tracking code on my site for it to start tracking.

Where do I have to go to access the code of my site so that I can paste the tracking code?

I know this might be a newbie question, but I AM a newbie, and any help would be greatly appreciated. :)

Thanks!

griff671
01-04-2009, 09:27 AM
Hi Dcabrams, and Welcome to the forum!

You must edit the HTML code of each page you want to track. You can do this with any text editor such as notepad.

Simply open the file in your chosen text editor and look for the </body> tag. It should be at or near the bottom of the file.

Insert your tracking code right above the </body> tag and save the file.

Then you can go back to analytics and do the test to ensure it sees the code.

HTH!

ccsdguru
01-22-2009, 07:29 PM
Which page should you put this in?

Chella
01-22-2009, 11:51 PM
Preferably your index page.

pghcollectibles
01-23-2009, 09:10 AM
if you use an interactive website that uses many pages but also uses a common includes file or files it could go in that. for example i put mine in my footer.php file