• Resolved somtam

    (@somtam)


    Hello,
    I’ve just updated to WC 3.0.5 and your plugin at 1.4.1.
    Since then I don’t see real time traffic working, even if I am on the website.

    I’ve checked the script in the html and I see the analytics snippet function(i,s,o,g,r,a,m) etc…

    Any idea on what can be wrong?
    Thank you in advanced for support

Viewing 14 replies - 1 through 14 (of 14 total)
  • Today I updated the plugin and it broke GA reporting. It didnt sent any data to GA all day. I downgraded to 1.4.0 and it works fine. Mention my Woo is stil 2.6.13

    Same here, not only real time, all the tracking – gone.

    Downgraded till they look at the issue – if they.

    Yep same here….

    Same issue.

    Same in my shop. The problem is a broken analytics code without the Google Analytics ID:

    ga( 'create', '', 'my.shop.url' );

    Why does nobody test updates before publishing?

    The bug is in class-wc-google-analytics.php line 234:

    $ga_snippet_create = self::tracker_var() . "( 'create', '" . esc_js( $ga_id ) . "', '" . $set_domain_name . "' );";

    Variable $ga_id is nowhere defined.

    As workaround add this line before the upper line:

    $ga_id = self::get( 'ga_id' );

    SAME!

    Jesus WooCommerce is getting buggy. seems to be something with every upgrade.

    I’m not sure its just real time data that is affected Ive not had data passed for day or two now.

    They’ll still try point blame towrd another ‘third party’ plugin you have installed.

    I’m not sure I want to upgrade anything anymore. despite the prompts.

    • This reply was modified 7 years, 6 months ago by madina.

    Small update,

    The fix suggested by net spy works, but make sure you do this in the class-wc-google-analytics-js.php file, not the one mentioned above. Otherwise we’ll have to wait until the fix this in a next release..

    @bjornaerts: You are right, the correct file is includes/class-wc-google-analytics-js.php. Thanks!

    Same here, mine broke after update. That fix worked – thanks @netspy and @bjornaerts

    Starting to lose all faith in WooCommerce / WordPress / Automattic. They seem to have a real problem with breaking stuff and poor testing at the moment. Similar has happened with Braintree and PayPal express plugins.

    These are mission critical plugins which they are breaking. Really it’s unacceptable for anything other than a hobby shop (and even then it’s at least really really annoying!)

    Hope they can sort it out!

    • This reply was modified 7 years, 6 months ago by shawaj.

    It is terrible that sloppy and untested code was pushed as an update. I lost a day and a half worth of data because of this. Thanks to netspy and bjornaerts for the help in fixing this. Hopefully the plugin developer will view this thread, review their code and push a fixed version.

    Same here!! Lost a day of stats.

    The “funny” thing is that things got unstable whether you are using free or paid plugins. And issues are slowly resolved.

    With woocommerce/EU VAT Number plugin, for which i have a subscription, they broke it at 2017-04-13 and i’m still waiting for Woocommerce to fix it.

    Thanks @netspy and @bjornaerts for posting the fix to this!

    Thanks for the fix. Hope they’ll fix it soon because is a very major bug. I must admit, unbelievable that it got pushed through.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘After update real time traffic doesn’t show up’ is closed to new replies.