← Back to changelog

GTM Kit 2.11.0

Free

Added

  • “Exclude tax” toggle now controls every standard e-commerce event the data layer emits: view_cart, begin_checkout, purchase, variation prices on variable product pages (re-fired view_item + add_to_cart), and the per-item coupon discount field.
  • Heads up: GA4 numbers may move after this update. Stores with prices entered ex-tax and tax-inclusive cart display will see value change from ex-tax to inc-tax in cart and checkout events.
  • New gtmkit_resolve_tax_mode and gtmkit_resolve_item_discount filters let developers override the toggle programmatically (per-event or per-context) and override the per-item coupon discount calculation.
  • Minimum required WordPress version is now 6.8 (was 6.7). Sites still on WordPress 6.7 won’t get this update via the dashboard until they upgrade WordPress.

Fixed

  • Cart, checkout, variation, and coupon-discount events now follow the “Exclude tax” toggle consistently across value, price, and discount fields. The GTM Kit Woo and GTM Kit Premium add-ons extend the fix to refund and order-paid events in their paired releases.
  • Silence the “translation loading triggered too early” notice that WordPress 6.7+ logs against the gtm-kit text domain by registering translations at the very start of init before any other code can request a translated string.
  • Close an edge case where a script-dependency notice could still appear under WordPress 6.9.1+ when a consent or CMP plugin toggled the GTM Kit container active mid-request, by asking the WordPress script registry directly which scripts were actually registered instead of re-evaluating the container gate.

Read the release post →