• Resolved Paul

    (@paulschiretz)


    Hi there,

    Just wanted to leave this Note also here as it might warn other users from wasting hours or hours of debugging.

    When a Product is added or removed from Cart, the tracking script relies on the add_to/remove_from cart button of that product_id to be part of the current DOM, otherwise a JS error is triggered.

    COMMON WAYS THIS ASSUMTION IS WRONG:
    Grouped, Bundled, Chained Products, BOGO Deals, Free Products you name it….. which Plugin is used or if it is done by code doesn’t matter, whenever a product is added/removed from cart where the add_to/remove_from cart button is not part of the DOM we get a major crash.

    This is extremely critical as it breaks compatibility with 100s of extensions, even the ones from Automattic/Woocommerce itself.

    So if you use any type of Bundled Products or Composite Products, Chained Products or BOGO deals plugins your site is broken from the moment you install version 2.0.0 or 2.0.1.

    The only workaround is changing the code of the plugin, so i also left a github ticket and hope someone takes care of this as soon as possible, or at least temporarily disable the add_to_cart/remove_from_cart events.

    The ticket can be followed here:
    https://github.com/woocommerce/woocommerce-google-analytics-integration/issues/382

    It would be really really nice if your developers can have a look at that soon.
    All the best,
    Paul

Viewing 1 replies (of 1 total)
  • Thread Starter Paul

    (@paulschiretz)

    A pull request is merged for this issue! So it will be fixed in an upcoming version.

Viewing 1 replies (of 1 total)
  • The topic ‘CRITICAL BUG in new tracking implementation (v2.0.1)’ is closed to new replies.