Stat Counter


Hey guys, How do I make my stat counter work on all forum pages? I am currently using stat counter for my analytics but my results only show index page...


XenForo moderator
Staff member
Which stat counter?

If you mean the Forum Statistics data such as threads, post, etc. then you will need an add-on to do that.
The data is only exposed for the forum home page.


Where have you added your track code?
Add it to the footer or PAGE_CONTAINER template or use the template hooks(because there's IMHO no need to edit the templates... it's better because of the upgrades;) ).


I only had it on the body of the index page because I didn't know where to append to the others...
I added it the the PAGE_CONTAINER right before the</body> tag
I will let you know if this works ;o)
Thanks for your help!

Core Freedom

Well-known member
I know it's been a while since this thread. But I just installed StatCounter following these instructions (thank you) and it works great! :D