0
I am getting only very limited results with Content Statistics and I think the problem is due the fact that when Joomla page caching is enabled that the cache plugin has already sent the output to the browser before the contentstatistics plugin is even called. Can you confirm that this is indeed the case.
Responses (9)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0What I mean is for your plugin to keep its own record of the URL being requested BEFORE the cache plugin stores the cache record. THEN in the constructor of your plugin you can look at the mapping of URL to your own mapped URL<->REQUEST data to complete the stats analysis.
I am using Zoo. Also note that you don't seem to record any Zoo Frontpage menu item views either. -
Accepted Answer
0Hello Geraint,
I've been thinking and what could be done is to make the tracking differently, via AJAX call. that is, we simply load a line of JS into the template that will call internally a page to trigger the tracking function (pretty much what you describe when you say mapping the URL to the request)
I can build this method in your plugin if you want, it shouldn't be too complicated.
can you contact me at support@ joomlathat.com? -
Accepted Answer
0An external AJAX/JSON call would add a performance hit to the functionality. If you can control the order that the system plugins are loaded then you can use the onAfterInitialise method BUT you can't use the JRequest values at that function call since they are only available after routing when SEF is enabled (hence my suggestion about creating a URL/$_REQUEST data map).
Anyhow - I have an urgent need to analyse the traffic and visitors on my site so must look at other alternatives to ContentStatistics. I'd therefore be grateful if you would refund my purchase since your product doesn't provide the statistics I need when caching is enabled.
Many thanks -
Accepted Answer
0hello,
as a matter of fact, simply changing the plugin trigger to "onAfterRender" would work because that is triggered even if the page is cached.
that's a much simpler solution. it will make it work with really less than one code line change. if you can give me access I can change this right away. if it doesn't work we can refund you, but trust me this will work right away. -
Accepted Answer
0Hi .. we use heavy caching and CDNs, so was sondering if this "fix" has been applied to the product overall, to ensure it will track cached content properly?-
Germinal Campsmore than a month agoit really depends on the type of caching you're using, and the components you want Content Statistics to work with. which content is cached in your site?
-
-
Accepted Answer
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »