plugin-icon

GIA — GA4 Ecommerce Tracking for WooCommerce

作者:UserElements·
Track the full WooCommerce shopping journey in GA4 — product views to checkout to purchase — with server-side backup when browsers block tags.
版本
0.6
最后更新
Jun 24, 2026
GIA — GA4 Ecommerce Tracking for WooCommerce

WooCommerce knows your orders. GA4 often does not.

You install Google Analytics, paste a code, and wait. Page views show up, but you still cannot answer simple questions:

  • Which products do people actually look at?
  • How many add to cart but never buy?
  • Where do shoppers drop off — the cart or checkout?
  • Why does GA4 revenue not match WooCommerce orders?

Most GA plugins only put Google Analytics on your site. They count visits. They do not track the shopping journey WooCommerce needs.

GIA GA4 is different. It is built only for WooCommerce stores. It tells Google Analytics 4 what shoppers do — from browsing products to completing (or failing) checkout — and backs up purchases from your server when ad blockers or cookie banners get in the way.

Paste your Measurement ID. No Google Tag Manager. No developer required.

What you will see in GA4

GIA GA4 sends the steps shoppers take so you can build funnels and reports in Google Analytics:

Browsing * When someone views a shop, category, or search results * Which products appear in a list and get attention * When someone opens a product page (including size/color changes on variable products) * When someone clicks a product from a grid or collection

Cart * When a product is added to cart * When something is removed from cart or mini-cart * When someone views the cart page

Checkout * When checkout starts * When a shipping method is chosen * When a payment method is chosen * When a coupon is applied or removed * When checkout fails (card declined, validation error, payment error)

Purchase & after * When an order is completed — with order total, tax, shipping, coupons, and line items * When a refund is processed * Optional: sign-up, login, subscription events (if you enable them)

You see how many people took each step and which products were involved — not just a final order count in WooCommerce.

GA4 ecommerce events

Discovery: view_item_list, view_item, select_item, view_search_results, view_promotion Cart: add_to_cart, remove_from_cart, view_cart Checkout: begin_checkout, add_shipping_info, add_payment_info, purchase, payment_failure, coupons, shipping & payment steps After sale: refund (browser + server) Optional: login, sign_up, exception, subscription lifecycle (with WooCommerce Subscriptions)

Core funnel events can be turned on or off in Settings Events. Checkout errors, coupons, shipping, and payment events always fire.

What this means for your store

  • Find drop-off points — Lots of product views but few purchases? Problem may be the product page or price. Lots of carts but few checkouts? Problem may be shipping or trust at cart.
  • Trust your sales data in GA4 — Purchases are tracked in the browser and backed up from your server so fewer orders go missing.
  • No double counting — When both paths work, GA4 receives one purchase per order, not two.
  • Works with modern WooCommerce — Classic themes and block-based cart and checkout.
  • Privacy-friendly setup — Consent Mode for EU/UK shops, works with Cookiebot, CookieYes, Complianz, and other cookie tools.
  • Quick setup — Setup wizard, test tools, and warnings if another plugin might track the same thing twice.

How is this different from a normal GA plugin?

A normal GA plugin (Site Kit, Meow Analytics, “insert header code” plugins): * Puts Google Analytics on your website * Counts page views and sessions * Sometimes shows a traffic chart in WordPress * Does not track add to cart, checkout steps, or full purchase details for WooCommerce

GIA GA4: * Tracks the full shopping path in GA4 * Sends product details with each step (name, category, brand, SKU, sale price, and more) * Works with WooCommerce Blocks cart and checkout * Backs up purchases from the server when the browser cannot send them * Handles consent and GDPR-style rules out of the box * Includes a simple dashboard for setup, shop health, and view-to-purchase — GA4 remains where you do deep analysis

Compared to basic “GA for WooCommerce” plugins that often only track purchase (sometimes add to cart), GIA GA4 covers the whole funnel and focuses on accurate numbers, not just flipping a tracking switch.

Compared to Google Tag Manager, you do not need to build tags, triggers, and containers. GIA GA4 is ready-made wiring from WooCommerce to GA4.

Who should use this

Good fit: * WooCommerce store owners who want clear funnel data in GA4 * Shops where GA4 shows fewer sales than WooCommerce * Stores in Europe or the UK that need proper consent handling * Stores using block checkout or product grids * Stores that also want Google Ads purchase tracking (optional)

Not the right fit: * You only want a simple visitor counter on a blog (use a lightweight GA plugin) * You already have a custom Tag Manager setup you are happy with * You want profit margins, ad spend, or Meta/TikTok pixels inside this plugin

What is included

Easy setup * Enter your GA4 Measurement ID * Optional API secret so purchases can be sent from the server too * Setup wizard and a tool to verify tracking is working * Can import settings from GTM4WP, Google Analytics for WooCommerce, or GTM Kit * Optional Google Ads conversion tracking * Optional extra Measurement IDs (for agencies or test properties)

Product data sent to GA4 * Categories, brand, barcode (GTIN), variant, image, stock status * Sale discounts * Product ID or SKU (your choice) * Which list or category the shopper came from

Reliability & control * Server backup for purchases and refunds * Safe thank-you page tracking even when the page is cached * Pause browser tracking for testing (server backup can still run) * Exclude staff, certain user roles, specific pages, or page-builder previews * Per-page “do not track” option

Dashboard in WordPress (GIA GA4 Analytics) * Overview — setup help and weekly shop summary * Traffic — GA4 sessions and channels (with Site Kit, optional) * Products — which products get views vs which actually sell * Customers — top customers by spend * Settings — connection, privacy, events, advanced options

What this plugin does not do

To stay focused and fast, GIA GA4 does not include: * Profit or cost-of-goods reporting * Facebook, TikTok, or other ad platform pixels * Full marketing attribution inside WordPress * A replacement for the GA4 website — use GA4 for deep reports

Privacy

Tracking respects consent settings. Data defaults to “denied” until the shopper agrees (configurable). Customer data used for enhanced conversions is hashed before it is sent and is not stored by this plugin. You are responsible for your store’s privacy policy and legal compliance.

External Services

This plugin connects to external services to provide analytics functionality. By using this plugin, you agree to the terms and privacy policies of these services.

1. Google Analytics 4 (required for tracking)

  • Purpose: Records ecommerce events, sessions, and conversions
  • Data sent: Page views, ecommerce events, hashed customer data (if Enhanced Conversions enabled), client/session identifiers
  • Domains: www.googletagmanager.com, www.google-analytics.com, region1.google-analytics.com
  • Terms: Google Analytics Terms
  • Privacy: Google Privacy Policy

2. GA4 Measurement Protocol (recommended)

  • Purpose: Server-side purchase and refund delivery when browser tracking is blocked
  • Data sent: Order value, line items, transaction ID, client ID, session ID, event ID
  • Endpoint: https://www.google-analytics.com/mp/collect
  • Terms/Privacy: Same as Google Analytics above

3. Google Ads (optional)

  • Purpose: Purchase conversion signals for Smart Bidding
  • Data sent: Conversion value, transaction ID, hashed customer data (if enabled)
  • Domains: www.googletagmanager.com
  • Terms: Google Ads Terms
  • Privacy: Google Privacy Policy

4. Google Tag Manager (optional)

  • Purpose: Tag deployment when you manage GA4 through GTM
  • Domain: www.googletagmanager.com
  • Only loaded when a GTM container ID is configured

5. Google Site Kit (optional — dashboard only)

  • Purpose: Display GA4 traffic reports inside the GIA GA4 dashboard
  • Only used when Site Kit is installed and Analytics is connected
  • Plugin: Google Site Kit
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0
这个插件是可用的下载,适用于您的站点。