Support » Plugin: Koko Analytics » Please avoid tracking via wp-admin 🙏

  • Resolved presscode


    Koko is obviously using wp-admin folder for tracking via WP theme, e.g:

    But since I have protected my wp-admin with a password, the password protection will be displayed everywhere, where this URL is included in the theme.

    Hence, the password protection is effective on all pages and my visitors are getting bounced.

    I don’t want to activate cookies in my koko settings.

    Any chance to get around this? Otherwise I need to remove Koko from my own and all my clients sites, which would be sad.

    Thank you and kind regards,

Viewing 1 replies (of 1 total)
  • Plugin Support Lap



    I imagine this breaks a lot of other plugins as well as it’s normal to use wp-admin/admin-ajax.php for any ajax calls.

    Koko can use a custom endpoint, but this depends on your website configuration as well and it seems Koko already detected that for you that wouldn’t work.

    You can still try to add the following filter to your functions.php


    to force using a custom endpoint instead of the standard AJAX endpoint, but as I said, likely the plugin wasn’t able to write to your root dir and then it can’t use the custom endpoint either.

    If the custom endpoint doesn’t work the admin-ajax is the only other option.

    Kind regards,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.