xpay✦ Commerce
Directory
WooCommerce plugins
Lean GA4 Tracker
Lean GA4 Tracker
Lightweight Google Analytics 4 (GA4) plugin for WordPress with WooCommerce tracking, Consent Mode, and Google Tag Manager support.
Will this break my store?
What the WordPress.org registry says about keeping Lean GA4 Tracker running.
Tested to 6.9.5 — 1 branch behind 7.0
Tested against the WordPress branch in use today.7 months ago
At least 11.2 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.8.2
Your host must be running at least this version.6.2
1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.Maintenance & trust
Scored on how Lean GA4 Tracker is looked after — not on how many stores run it.
Maintenance
26 / 35WordPress compatibility
14 / 20Support responsiveness
Not enough dataMerchant satisfaction
Not enough dataListing transparency
7 / 10Ratings
No one has rated this plugin on WordPress.org yet. That is a statement about the ratings page, not about the plugin — plenty of well-kept plugins never collect them.
Lean GA4 Tracker is a lightweight, developer-friendly plugin that integrates Google Analytics 4 (GA4) with WordPress.
Unlike heavy analytics plugins, Lean GA4 Tracker focuses on performance, privacy, and simplicity, while still offering advanced features like WooCommerce eCommerce tracking, Consent Mode, and Google Tag Manager (GTM) support.
Perfect for WooCommerce Stores
Lean GA4 Tracker includes built-in GA4 eCommerce event tracking — no coding or add-ons required.
Track the full shopping journey:
– Product detail views (view_item)
– Product list views (view_item_list) – shop, category, search pages
– Product clicks from lists (select_item)
– Add to cart actions (add_to_cart)
– View cart (view_cart)
– Remove from cart (remove_from_cart)
– Checkout steps (begin_checkout)
– Shipping method selection (add_shipping_info)
– Payment method selection (add_payment_info)
– Purchases (purchase)
– Includes product categories and brands for richer GA4 reports
Why Choose Lean GA4 Tracker?
- Lightweight: No bloat, performance-first architecture
- WooCommerce Ready: Track product views, carts, checkout, and purchases
- Developer-Friendly: PSR-4 autoloading, hooks, and JSON event support
- Flexible Script Loading: Standard, async, defer, or idle
- Consent Mode Integration: Works with Complianz, CookieYes, and Cookiebot
- Google Tag Manager (GTM): Inject GTM containers for Web, AMP, or custom
- Custom Events: Dispatch your own GA4 events via JSON — no JavaScript required
- Tabbed Settings UI: Clean, organized settings panel
- Multisite Support: Network-wide GA4 settings with optional enforcement
Resources
Whether you’re a WooCommerce store owner or a developer building custom sites, Lean GA4 Tracker gives you exactly what you need — nothing more, nothing less.
Privacy
This plugin does not collect, store, or transmit any personal data by itself.
It integrates your site with Google Analytics 4 (GA4) and/or Google Tag Manager (GTM).
Please review and configure your GA4 and GTM accounts in accordance with your local privacy laws (such as GDPR, CCPA).
Consent Mode
If enabled, Lean GA4 Tracker respects user tracking preferences via Google Consent Mode.
You can also integrate with third-party cookie banner plugins (Complianz, CookieYes, Cookiebot) to ensure visitor choices are honored.
WooCommerce Data
When WooCommerce tracking is enabled, the plugin sends product and order information to GA4, such as product name, category, brand, price, and quantity.
No personally identifiable information (PII) such as customer names or emails is collected or transmitted.
Recommended
We recommend that site owners:
– Update their site’s Privacy Policy to mention Google Analytics 4 and data sharing with Google
– Provide clear information to visitors about analytics tracking
– Use a consent management plugin to comply with GDPR/CCPA and other regulations
Yes. Lean GA4 Tracker tracks product views, add to cart, checkout, and purchases using GA4’s official eCommerce schema — including product category and brand data.
Yes. You can define a JSON array of custom events in the Events tab, and the plugin will dispatch them automatically.
Yes. Enable it in the Privacy tab to integrate with cookie banner plugins like Complianz, CookieYes, and Cookiebot.
Yes. You can inject GTM containers (Web, AMP, or Custom) and even enable GTM Debug Mode for testing.
Yes. Network admins can enforce GA4 settings across all sites or allow site-level overrides.
You can load it as standard, async, defer, or idle (using requestIdleCallback) to optimize performance.
Yes. From version 1.1.5, WooCommerce eCommerce tracking automatically includes product category and brand attributes in GA4 event payloads.
Yes. You can exclude specific user roles from tracking in the Tag Manager settings tab.
No. The plugin is designed to be lightweight and optimized for performance. You can choose async, defer, or idle script loading to minimize impact on page speed.
Lean GA4 Tracker focuses on performance and WooCommerce support without unnecessary bloat. It is developer-friendly, privacy-focused, and provides just the right features for GA4 and GTM integration.
Categories
Plugin details
Tags on WordPress.org
