Hi @michae2l,
Thank you for contacting us.
From what you described, it sounds like something is preventing the tracking script from loading correctly — often, caching plugins can interfere with it.
To troubleshoot, we recommend temporarily disabling all plugins, especially FlyingPress. If your site is live, you can enable a maintenance mode plugin to safely take it offline while testing.
After that, try visiting the site from different devices and see if WP Statistics starts recording visits again.
If it turns out FlyingPress is the cause, please exclude this file from its cache settings:
/wp-content/plugins/wp-statistics/assets/js/tracker.js
Let us know how it goes — we’re happy to help however we can.
Thanks,
Mehmet
Disabling all plugins with exception of wpstats shows no change but the console log of firefox replaces the initial message and states now :
WP Statistics: Hit request failed with status 401
Hello,
Thank you for reporting the issue. Could you please check the response of the request that resulted in the 401 error? (More info)
Having the full response details will help us identify the root cause more quickly.
Also, it would be helpful if you could review the PHP error logs for any related messages.
Best
Hi @michae2l,
Just following up to see if you had a chance to check the response details for the 401 error and review the PHP error logs.
These details would help us figure out what’s going wrong.
Looking forward to your update!
Best,
Mehmet
I am working on it – please give me a bit time …
I did found the culprit – myself – I apologize.
I restricted the REST_API and this was not really helpful.
Your tool works now like a charm – thank you again for your patience!
Hi @michae2l,
Thank you for the update!
I’m glad to hear everything is working now.
I’ll go ahead and mark this topic as resolved.
Best regards,
Mehmet