Hello, having problems with post views counter. Website is living based on post views number and this functionality is most important part. Average post views for each post is between 2000 – 10000 views in 48 hours, but theme post counter showing like 200 – 1200 (something like 10 times less). Try with AJAX counter enabled and disable still same issue. Could it be related to php settings (current php version 7.0).
Website is hosted on dedicated server:
CPU: 1x Intel Xeon E3-1230v5 @ 3.4GHz Quad-Co
Memory: 2x 8GB DDR4 UDIMM
Hard Drive: 2x 120GB SSD RAID1
with Web Accelerator
It’s a simple hit counter.
You can test by simply hitting f5 refresh on page, and watch if the custom field per post increments or not.
Also note ‘bot’ traffic less likely to be counted.
Checking your actual server stats package – if you’ve installed one – (e.g., webalizer) etc., also useful to see “actual traffic” for your site.
Any ‘hit counter’ on page simply increments each time page is loaded and should only be considered a reference point, and not technically 100% correct.
Thank you.
This is stats from webalizer http://prntscr.com/gddo7s
My question will be could it be that php settings (like max_input_vars (current 7000) or memory_limit current 2048M)) can effects view count stats?
Simple hit counter doesn’t use a ton of resources.
The 7-day sort option adds some extra complexity, though.
Be sure to test your posts with F12/console for ajax errors, as that can impact it.
Also try, clearing your browser cookies/cache, disable any ad blockers, etc., and refresh your post couple of times, see if increments in the custom fields on that post.
Hi,
The system status parameters should be set according to this guide: https://forum.tagdiv.com/system-status-parameters-guide/
But it should not affect the post count. The post count is usually affected by caching. Please check with your host and disable any hosting side cache.
Thanks.