GTM4WP 2.0.0-beta1
Pre-releaseGTM4WP 2.0.0-beta1 — first public beta of the 2.0 rewrite.
2.0 is a complete object-oriented rewrite. Existing setups keep working — all template functions, filter/action names, wp-config constants and the gtm4wp-options key are unchanged.
Highlights
- Modern React settings screen with search, inline validation, and settings export/import
- Per-container environment parameters, custom domain/path, "omit container ID", and a production-only kill switch
- Cache-safe data layer (experimental) — no visitor/session data baked into cached HTML
- WooCommerce Cart & Checkout block support; Mini-Cart / Product Collection / cross-sell tracking
- Reliable purchase tracking, configurable trigger statuses, Enhanced Conversions user data, transaction-id prefix
- Many new Page variables (word count / reading time, primary category, language, PublishPress Authors, …)
- Numeric-looking identifiers (SKUs, order numbers, postcodes) now stay strings in the data layer
Requires PHP 8.0+ and WordPress 6.3+.
Install (beta)
Download the packaged duracelltomi-google-tag-manager-for-wordpress-2.0.0-beta1.zip attached below (
WP admin → Plugins → Add New → Upload Plugin → choose the zip. On a site already running 1.x, deactivate the current GTM4WP first, then upload; your settings are migrated automatically.
Feedback
Please open issues at https://github.com/duracelltomi/gtm4wp/issues with "2.0 beta" in the title.