Linux 软件免费装
Banner图

Lean GA4 Tracker

开发者 maidulcu
更新时间 2025年9月19日 12:35
PHP版本: 8.2 及以上
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

google tag manager GA4 woocommerce analytics ecommerce tracking Tags: google analytics

下载

1.1.4 1.1.5 1.1.2 1.1.3 1.1.6 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.9 1.1.0 1.1.1

详情介绍:

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) - 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? Resources

安装:

  1. Upload the plugin files to /wp-content/plugins/lean-ga4-tracker
  2. Activate the plugin from your WordPress dashboard
  3. Go to Settings → Lean GA4 Tracker to configure your Measurement ID, WooCommerce tracking, and GTM settings

屏幕截图:

  • Tag Manager tab: Configure GTM container injection, container type, debug mode, and user role exclusions
  • Authentication tab: Enter GA4 Property ID and Manual Access Token
  • Events tab: Define custom GA4 events using a JSON array
  • WooCommerce tab: Toggle GA4 eCommerce event tracking for product views, add to cart, checkout, and purchases
  • Forms tab: Enable automatic GA4 event tracking for Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Formidable Forms, and Fluent Forms
  • Privacy & Consent tab: Enable Consent Mode and integrate with cookie banner plugins like Complianz, CookieYes, and Cookiebot
  • Debug tab: Enable Debug Mode to print event tracking output for admins

常见问题:

Does this plugin support WooCommerce eCommerce tracking?

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.

Can I track custom GA4 events without writing code?

Yes. You can define a JSON array of custom events in the Events tab, and the plugin will dispatch them automatically.

Does the plugin support Consent Mode?

Yes. Enable it in the Privacy tab to integrate with cookie banner plugins like Complianz, CookieYes, and Cookiebot.

Can I use Google Tag Manager (GTM) instead of the GA4 script?

Yes. You can inject GTM containers (Web, AMP, or Custom) and even enable GTM Debug Mode for testing.

Does it work in multisite?

Yes. Network admins can enforce GA4 settings across all sites or allow site-level overrides.

Where is the GA4 script loaded?

You can load it as standard, async, defer, or idle (using requestIdleCallback) to optimize performance.

Does this plugin support product categories and brands in WooCommerce?

Yes. From version 1.1.5, WooCommerce eCommerce tracking automatically includes product category and brand attributes in GA4 event payloads.

Can I disable tracking for logged-in administrators or editors?

Yes. You can exclude specific user roles from tracking in the Tag Manager settings tab.

Does Lean GA4 Tracker slow down my website?

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.

How is this plugin different from other GA4 plugins?

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.

更新日志:

1.1.6 1.1.5 1.1.4 1.1.3 1.1.1 1.1.0 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0