• Resolved harryfear

    (@harryfear)


    I just checked my analytics and saw that I’ve had no data since November. That’s a real bummer.

    https://ibb.co/k1zDkX7

    I opened WP up and saw that Cron Status Checker reported CRON working fine.

    I opened CAOS and it reported that corn is not firing and that the update hadn’t taken place for 2 days. I forced a manual update.

    I verified that Analytics is now tagging with a Real-time visit verification.

    https://ibb.co/7bq17hS

    It looks like something broke between November and now, that the above routine fixed? That’s such a bummer as I lost months of data.

    What could have caused this? Cron is definitely healthy as the site has auto updates running daily, including auto-plugin updates set, including for this plugin.

    Is this a compatibility issue with the Google Site Kit plugin? Long shot I think.

    Any ideas welcome, as this has freaked me the hell out. I’ve looked through and all other sites seem to be reporting okay.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter harryfear

    (@harryfear)

    I looked back into Wayback archive and can see that in December, the cached script was different to the live one, indicating that there was a code change that might have stopped reporting to GA.

    Is there any chance of adding a plugin feature where the admin email gets a notification if the cached js file hasn’t been updated in 48hrs, for example? As I see, this should stop this kind of issue? At least a fail safe of kinds? Perhaps also an WP admin warning banner?

    Thread Starter harryfear

    (@harryfear)

    I really love this plugin, but for now I’ve had to switch this mission critical domain to use the Google Analyticator plugin until I can work out why reporting failed for 2m while using this plugin.

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi Harry,

    You’re right. Maybe I should throw a global warning, instead of just on CAOS’ settings screen.

    I’ll look into it. Thanks for reporting it, though!

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    If you look in your PHP logs for the past few months, can you see any Cron or CAOS related errors?

    Thread Starter harryfear

    (@harryfear)

    One final double tap message:

    I know that there were visitors, because they were tracked in Facebook Analytics with a Pixel. Where as in GA there’s no data:

    https://ibb.co/qn2rjNp
    https://ibb.co/1Tt7k9Q

    Thread Starter harryfear

    (@harryfear)

    Thanks for the fast response!

    I’ve had a look through the error log.

    I can’t see any ‘error’-grade messages in the error log at all. And I can’t see any messages relating to CAOS.

    But I did see:

    [04-Nov-2019 19:52:45 UTC] PHP Notice:  Undefined index: wp-cron-status-checker/freemius in /home/cpanel/public_html/www.domain.com/wp-content/plugins/error-log-monitor/freemius/start.php on line 184
    [04-Nov-2019 19:55:30 UTC] PHP Notice:  Undefined index: wp-cron-status-checker/freemius in /home/cpanel/public_html/www.domain.com/wp-content/plugins/error-log-monitor/freemius/start.php on line 184
    [04-Nov-2019 20:01:12 UTC] PHP Notice:  Undefined variable: free_label in /home/cpanel/public_html/www.domain.com/wp-content/plugins/wp-cron-status-checker/views/options-page.php on line 42
    

    But don’t think those are big actors. Although maybe they indicate something started to go wrong on 4 Nov, two days before Analytics stopped getting data.

    Best,

    Harry.

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Nah, they’re notices. They shouldn’t cause any disfunction anywhere. If it did, the list would end with a Fatal Error.

    I honestly can’t think of anything that might’ve caused the cron to break. i haven’t changed anything in the script for a while as well.

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi @harryfear,

    I wanted to let you know that CAOS’ last release (v3.3.0) includes a global notice within the Admin area if the analytics.js/gtag.js file hasn’t been updated for more than two days.

    In other words, the notice will not just be ‘hidden’ anymore within CAOS’ settings screen.

    Thread Starter harryfear

    (@harryfear)

    Super, thanks, Daan!

    Stay safe.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Oh, dear.’ is closed to new replies.