开发者 | maidulcu |
---|---|
更新时间 | 2025年9月19日 12:35 |
PHP版本: | 8.2 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
view_item
)
- Add to cart actions (add_to_cart
)
- Checkout steps (begin_checkout
)
- Purchases (purchase
)
- Includes product categories and brands for richer GA4 reports
Why Choose Lean GA4 Tracker?
/wp-content/plugins/lean-ga4-tracker
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.
<head>
and <noscript>
support