Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

How to Track every Page on my website?

Do I have to insert tracking code in every page?



6:30 pm on Apr 14, 2009 (gmt 0)

10+ Year Member

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

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.


Featured Threads

Hot Threads This Week

Hot Threads This Month