Hi,
I have a view count function which counts each pageview as a view. The function is hooked to the 'wp' hook. However since W3 Total Cache caches the whole website, the count function does not work.
I know I can fix this by running the views function through an AJAX call instead of the 'wp' hook, but I'm wondering if there's any other way to accomplish this?
I tried to add the path to the views function file to the 'Never cache the following pages:' box in W3 Total Cache-> Page Cache settings page, but that does not solve the issue.
Anybody got an idea how to accomplish this?