• We’ve got the exactly the same issue as other people. Since the 1.8 update our visitor numbers reported in Koko have gone from 600/700 to low teens or even single digits. After the upgrade one site was set to use cookies for tracking and the other site was set as none. They are both now set for cookieless and still showing meaningless results.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hello @aecnews,

    Please share a link to your site so I can see the issue in action.

    Most likely, you are using some kind of aggressive caching plugin that is serving an outdated version of the tracking script from our plugin. You will need to clear your cache for this other plugin (WP Rocket / Autoptimize / Something else…). But it is impossible for me to tell without taking a look at your site, since the issue is specific to your site and not affecting everyone.

    Thread Starter aseannewstoday

    (@aecnews)

    Hi,
    I wouldn’t call LSC and Cloudflare “aggressive caching”.

    photo-journ.com
    aseannewstoday.com

    Thanks,
    John

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi John,

    Your site is not serving the JavaScript file from Koko Analytics directly but instead using a generated file from the /wp-content/litespeed directory. The issue is that the file that it’s serving no longer matches the current version of our tracking script.

    If you somehow instruct Litespeed to rebuild this generated file then things should start working again. This functionality is usually called something like “clear cache”.

    I hope that helps. If not, let us know please.

    Best,
    Danny

    Thread Starter aseannewstoday

    (@aecnews)

    Thanks Danny,

    The database for each site is optimised twice a day, while the LSC cache is also cleared twice a day. Additionally, all caches for all plugins on each site were cleared several times over the weekend prior to submitting a ticket.

    The only thing that hasn’t been cleaned is the Cloudflare cache.

    Best

    John

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi John,

    Are you sure? Because this is the file it serves for Koko Analytics:

    https://photo-journ.com/wp-content/litespeed/js/5852a8c4650d618c721e070e9b078d0d.js?ver=78d0d

    But this is the file (contents) it should serve:

    https://photo-journ.com/wp-content/plugins/koko-analytics/assets/dist/js/script.js?ver=1.8.2

    It’s definitely an older version. The stat collection is failing right now because it is generating an invalid HTTP request to the PHP endpoint, which expects slightly different data.

    If you could exclude the file from Litespeed somehow then that would fix/prevent the issue from ever happening again.

    Thread Starter aseannewstoday

    (@aecnews)

    Hi Danny,

    Absolutely. Every day twice a day after our RSS feed pages publish and are duplicated for their next publishing time.

    Because I was working an issue with Buffer the cache for all web apps and plugins was also flushed a couple of times. I have done it again prior to reverting.

    I’ll go and annoy LSC and see if they can offer any advice.

    Thank you,

    John

    Plugin Author Danny van Kooten

    (@dvankooten)

    Thanks @aecnews. It sounds like LSC is having a bit of an issue then, since their file is definitely serving an older version of our script. Hopefully they can offer some guidance and/or a fix!

    Alternatively, it may be possible to exclude the Koko Analytics script from LSC somehow? The file to exclude is:

    /wp-content/plugins/koko-analytics/assets/dist/js/script.js
    Thread Starter aseannewstoday

    (@aecnews)

    Hi Danny,
    Thanks for that. I applied your update and everything is working fine. Coincidentally LSC released an update the same day.

    Thank you,

    john

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Vanishing visitors’ is closed to new replies.