homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: DixonJones & mademetop

Website Analytics - Tracking and Logging Forum

How to Track every Page on my website?
Do I have to insert tracking code in every page?

10+ Year Member

Msg#: 3892311 posted 6:30 pm on Apr 14, 2009 (gmt 0)

I use Google Analytics and StatCounter to track the traffic coming to my website.

But my question is: how do I ensure every page is being tracked? would I have to insert the tracking code in every page? I mean what if you have thousands of pages? there must be a way to do this? I searched Google Analytics help as well as StatCounter and couldn't find anything.

My web hosting company already comes with free traffic stats, and it already tracks every page on every section of my website. How are they able to do this?

I rely on Google Adsense for tracking and analysing my traffic (and Google Analytics to track traffic to my home page)

But I want something that will track every page and directory.

Thanks a lot


Receptional Andy

Msg#: 3892311 posted 6:33 pm on Apr 14, 2009 (gmt 0)

For any of the javascript-based trackers (i.e. those that require on-page code modifications) you do need to put code on every page. Usually this is via:

- Editing site-wide templates (e.g. a header/footer). This is usually straightforward for database-driven sites like blogs, etc.

- Use a find and replace tool (e.g. find and replace </body> with <tracking code></body>). There was a good discussion about find and replace tools [webmasterworld.com] just a few days ago.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved