Plugin Support
Lap
(@lapzor)
In your WordPress settings under Settings > General, are both URLs setup correctly? Or is the Admin URL set to 127.0.0.1?
Hey @fitnsexy,
Something on your website is redirecting the tracking request to a local address. When watching the Network tab in my browser’s developer tools I see the following:
GET https://www.benny-braun.de/wp-admin/admin-ajax.php?action=koko_analytics_collect&p=193&nv=1&up=1&r=https://wordpress.org/support/topic/no-data-in-overview-and-strange-message/&rqp=gdweuzegd29
Which then responds with a HTTP 302 redirect to:
https://127.0.0.1/?action=koko_analytics_collect&p=193&nv=1&up=1&r=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fno-data-in-overview-and-strange-message%2F&rqp=gdweuzegd29
It’s impossible for us to tell where this redirect is initiated from, but I would check your server config and perhaps any redirection plugins you have activated.
Alternatively, perhaps you have something locking your /wp-admin/ section which should have a whitelist for the admin-ajax.php file?
I hope that helps a bit. If not, let us know please.
Message from my hoster:
Quote: “Your IP was accidentally blocked on the server side because it also accessed in between during an attack.”
So now I will wait i it works within the next days.
One more thing. What about the message: The plugin is currently not using an optimized tracking endpoint. To address, create a file named koko-analytics-collect.php in your WordPress root directory with the following file contents.
I see it on every of my websites.
Plugin Support
Lap
(@lapzor)
Maybe after the other issue is fixed by your hosting provider you can fix this as well.. once it’s working, you can try to manually create the file as instructed and see if the warning disappears.
Hope that helps. If you have any questions, please let me know!
The error has now disappeared and is no longer displayed on any of my 7 websites.
I have created and uploaded the required file accordingly on the individual websites. Then I had to click save again in the settings.
The statistics are now also working properly on all pages.
Thx for your suport!
Plugin Support
Lap
(@lapzor)
Perfect, Thanks for letting me know.