| 开发者 | maidulcu |
|---|---|
| 更新时间 | 2026年1月4日 00:05 |
| PHP版本: | 8.2 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
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?
/wp-content/plugins/lean-ga4-trackerYes. 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.
view_item_list event - Track product list views on shop, category, tag, and search pagesselect_item event - Track product clicks from lists with item position trackingview_cart event - Track when customers view their shopping cartremove_from_cart event - Track item removals from cart (server-side and AJAX)add_shipping_info event - Track shipping method selection during checkoutadd_payment_info event - Track payment method selection during checkoutitem_list_name, item_list_id, and index parameters<head> and <noscript> support