I’m using StatCounter for my site’s stats. It works good however it reports that www.my~domain.com/manager/index.php is the most popular page on my site. I want to install some blocking code in the Manager so that my page loads don’t get tracked. Which file should I do this in? The StatCounter code is supposed to be just before the </body> tag. I pasted the code in this file -- manager/includes/footer.inc.php -- but the code does not show up in the browser source and my page loads are still tracked. StatCounter does give the option to block IP addresses, but my IP changes almost daily so it’s become cumbersome to always check and edit that.
Any ideas on how to keep my Manager use from being tracked?
-Dorian
That is strange. I thought it would only track the pages with the javascript code like with Google Analytics?
-
MODX Staff
- 12,272 Posts
You’re including the code in the manager, so it’s going to be tracked. You need to put it into your templates only for the front end.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me