Filter to disable counting or script output on some pages
-
Hi,
I really appreciate this plugin and I can’t imagine my life without it. It gives so much insight to what’s going on! Thank you one more time.I recently created a kind of unit calculator on a website and trying to cheat google analytics/ads I don’t use javascript, but a page reload to show results. That works great, but top-10 shows me unrealistic numbers as every POST with parameters counts as a visit.
I can easily do the login to distinguish the original visit from parameters submit, the easiest is to check for GET vs POST. Which filter can I use when I detect POST to stop top-10 from either outputting the script or not counting a visit at all?
I use autoptimize plugin which concatenates and minifies all js on the webpage serving it as one big .min.js file with everything in it. It would be awesome if I could keep using the same optimized js file (to improve caching and performance) for every visit. Not sure if that’s possible – to still output js, but somehow not to execute or not to count the visit.
Any help greatly appreciated. Thank you one more time for this great plugin.
The page I need help with: [log in to see the link]
- The topic ‘Filter to disable counting or script output on some pages’ is closed to new replies.