Short answer
To set up GA4 ecommerce tracking on WooCommerce, send view_item, add_to_cart, begin_checkout and purchase events with value, currency and items through one tool. Copy your Google tag ID (G-…) from GA4 Admin → Data streams, add it to a tracking plugin or Tag Manager (not both), connect consent, and check the events in GA4 DebugView.
The events GA4 needs from a shop
| Shop action | GA4 event | Main details sent |
|---|---|---|
| Someone opens a product | view_item | Product ID, name, price, currency |
| Someone adds to cart | add_to_cart | Product, quantity, value |
| Checkout starts | begin_checkout | Cart items and value |
| An order is placed | purchase | Order number (transaction_id), value, currency, items |
GA4's ecommerce reports (Monetization) only fill in when these event names and fields are right.
What you need
- A WooCommerce shop and a Google Analytics 4 property
- Your Google tag ID (it starts with G-)
- For Google Ads: the purchase conversion's send_to value (it looks like AW-123456789/AbCdEf)
- A cookie banner, if you have visitors in places that require consent
- One route for each Google tool: a plugin *or* Tag Manager, not both
Step 1: find your Google tag ID
- In Google Analytics, open Admin → Data streams.
- Choose your website stream.
- Copy the measurement ID (G-…).
Step 2: (optional) find your Google Ads conversion
- In Google Ads, open Goals → Conversions.
- Choose your purchase conversion action and open Tag setup.
- Copy the send_to value.
Step 3: add them to your shop
With TagBuni, a free plugin on WordPress.org:
- Install it from Plugins → Add New Plugin (search "TagBuni") and activate it.
- Open TagBuni → Platforms, choose how consent works, then open Google Analytics 4 / Google Ads.
- Tick Turn on and paste the Google tag ID, plus the Google Ads send_to value if you use it.
- Click Save.
TagBuni loads the Google tag only after consent and sets Consent Mode v2 signals from the visitor's choice. GA4 events need "statistics" consent; Google Ads conversions need "marketing" consent.
Already using Google Tag Manager? Turn on TagBuni's Google Tag Manager card instead: it pushes the same ecommerce events to your container's dataLayer. Don't also turn on the Google tag card, or purchases are counted twice.
Step 4: check it works
- In GA4, open Admin → DebugView or Reports → Realtime.
- In a private window, accept cookies, view a product, add it to cart and place a test order.
- Check that view_item, add_to_cart, begin_checkout and purchase appear, with the right value and currency.
- After 24–48 hours, check Reports → Monetization → Ecommerce purchases.
Common problems
| Symptom | Likely cause |
|---|---|
| Purchases about double | GA4 is sent by both a plugin and Tag Manager, or by two plugins |
| Revenue is 0 | The purchase event has no value or currency |
| Nothing in Realtime | Consent declined, you are logged in as an administrator, or a cache serves an old page |
| Google Ads shows no conversions | Wrong send_to value, or marketing consent not given |
GA4 and your shop will never match exactly: declined consent, blockers and late payments all cause small gaps.

