Viewing 8 replies - 1 through 8 (of 8 total)
  • having the same issue here!

    Same issue after updating to 2.0. GA4 tag broke and caught it 48 hours later. Rolled back to the pluigin to 1.8.14 and it works again. I see they just launched the 2.0.1 update to address all this. Let me know it if works after you update.

    • This reply was modified 7 months, 2 weeks ago by someone12.

    same issue

    Version 2.0.1 has a console error;

    Uncaught TypeError: wcgai.trackClassicPages is not a function

    This appears to be the cause of the issue with incorrect tracking of Analytics data.

    Plugin Author Tomek

    (@tomalec)

    Hi, could you provide more details on what’s broken?

    Real-time data differences
    With 2.0.0, we released support for Google’s Consent Mode. We use the new API to block cookies for EEA visitors by default until they individually grant consent to follow European GDPR rules.

    So, the drop in tracked visitors may be just a result of not getting data from your European visitors. Google claims they would somewhat fill the gaps with modeled data for the visitors who didn’t consent.

    Reverting back to 1.x would result in collecting data without visitors’ consent and may have legal implications depending on the local law.

    You can customize your consent mode setup using a PHP snippet, as mentioned in the extensions README.

    wcgai.trackClassisPages is not a function error

    With the new release, we changed the structure of JS scripts. The error you mention may be a result of some caching or a script-defer plugin you use that may reorder scripts. See the similar report.

    Make sure any other extension does not change the order & placement of woocommerce-google-analytics-integration script.

    Mine isn’t tracking USA visitors either

    Howdy everyone ??

    Just to note, version 2.0.3 of the Google Analytics for WooCommerce has already been released.

    Kindly confirm that the issue is no more, on your end(s), when updating to it.

    We highly recommend making a backup of your site, when performing theme/plugin updates, for peace of mind. Cheers!

    cc @marbleagency @coshos @someone12 @dash78intheair @melonbot @greentktx

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘new version is broken’ is closed to new replies.