Triggering wp power stats before a 302 redirect
-
I had a look at the code and noticed the trigger to update stats is based on an Ajax call made by the browser.
90% of my traffic is redirects which don’t trigger a stats update. My site offers something kinda like a bit.ly translation but in a niche.
Is it possible to call wp power stats directly through php function calls, to trigger a stats update before the 302 redirect is made. I imagine all the information required is known via SERVER variables (browser type, referrer, page visited, etc)?
- The topic ‘Triggering wp power stats before a 302 redirect’ is closed to new replies.