WooCommerce5 min read1 view

WooCommerce GA4 begin_checkout tracking with GTM

Set up WooCommerce begin_checkout in GTM with product data, exact GA4 event names and checks in Preview and DebugView.

Watch on YouTube

The short answer

Send begin_checkout when shoppers start checkout, using the product data supplied by WooCommerce. Google's ecommerce guidedevelopers.google.com uses an items array to describe the products involved in each action. This guide is for store owners and implementers who have GTM installed and need to map a WooCommerce data-layer event into GA4.

Ask an assistant

ChatGPTClaudePerplexity

FREE AUDIT

NO LOGIN

Check what Meta and Google can count on your site

  1. Your site
  2. Crisper
  3. Meta and Google count it

Enter your website to see how good its tracking is, and whether Meta is likely restricting it.

Run a free audit

When should GA4 record begin_checkout?

Start with a test cart whose products and quantities you can recognize. At checkout entry, compare them with the begin_checkout items array shown in Google's ecommerce guidedevelopers.google.com.

Keep checkout steps separate. Google's guidedevelopers.google.com uses begin_checkout, add_shipping_info and add_payment_info for different actions; do not fire all three on checkout entry.

The data layerdevelopers.google.com is a JavaScript object that passes event names and values from the store to GTM.

What do I need before adding the event tag?

You need the intended GA4 web stream, a working Google tag and ecommerce data from the store. If those are missing, start with the WooCommerce GTM and data-layer setup.

This is the wrong fix when a plugin already sends the correct event to the same stream. Inspect that sender first. For GTM4WP, the plugin's own instructionsgtm4wp.com require Track e-commerce to be enabled; a Google tag alone does not create product data.

How do I set up begin_checkout in GTM?

Use the observed store event to trigger a GA4 Event tag, then map its ecommerce fields.

1. Inspect the store action

  1. Open GTM Preview on a staging store.
  2. Start checkout.
  3. Select the data-layer event carrying that action's products.
  4. Record the exact event name.

Done when its items match the product and quantity you used, and you have recorded the exact event name.

2. Confirm the destination

Google's setup guidesupport.google.com documents the Google Analytics destination and the alternate Google tag method.

  1. Reuse the store's Google tag and GA4 web stream.
  2. For Google's alternate methodsupport.google.com, enter the stream's Measurement ID as Tag ID.
  3. For that method, use an Initialization trigger.

Done when the saved ID matches the intended stream.

3. Map the fields

Data Layer Variablessupport.google.com read named values from the data layer.

  1. Create a Data Layer Variable for each row in the table below.
  2. Choose Version 2 for nested fieldssupport.google.com.
  3. Enter the path from the table and save.

items

Data Layer Variable path
ecommerce.items
Check
The products involved in this action

currency

Data Layer Variable path
ecommerce.currency
Check
Currency matching the item prices

value

Data Layer Variable path
ecommerce.value
Check
Item value for this action, when provided
These paths must match the event payload.

Google's ecommerce guidedevelopers.google.com requires currency when sending value and requires item_id or item_name for each item. Keep items as an array of product objects.

Done when each saved variable has the correct path and Preview resolves the variables to the current action, rather than an earlier cart.

4. Create the trigger and tag

A trigger is the condition that runs a tag.

  1. Save a Custom Event trigger whose event name exactly matches the data-layer event inspected in step 1. For example, use begin_checkout only if that is what the integration pushes.
  2. Create a Google Analytics: GA4 Eventsupport.google.com tag.
  3. Enter the intended Measurement ID.
  4. Set Event Name to begin_checkout.
  5. Map each table row in Event Parameters.
  6. Attach the Custom Event trigger you saved in this step.
  7. Save the tag.

Done when the saved event name matches Preview, and reopening the tag shows that event name, stream, parameters and trigger.

How do I test begin_checkout in GA4?

Compare the event sent by GTM with the event received by GA4.

5. Follow one action through both tools

  1. Repeat the action in Preview.
  2. Check that the GA4 tag fires on the observed checkout-entry data-layer event with the correct parameters.
  3. Enable debug modesupport.google.com for the test session.
  4. Open GA4 Admin > Data display > DebugView.
  5. Select begin_checkout and compare its parameters and items with your test action.
  6. Repeat with a different product and quantity.
  7. Test the store's consent choices.
  8. Record the cases you checked.

Keep debug_mode out of the final non-test configuration. A successful test covers the cases you recorded; it is not a count of every shopper's actions.

Done when the GA4 tag fires on the observed checkout-entry data-layer event with the correct parameters, and the event name, products, currency and amounts in DebugView agree with your test action.

Why is my begin_checkout data missing or wrong?

Check the event name, item payload and existing senders before changing the reporting configuration.

  • A trigger name that differs from the actual event leaves the tag without a match. Copy the name from Preview, including its case.
  • Missing items leave no product details to inspect. Fix the data-layer integration before changing the GA4 tag.
  • Two senders make repeated events hard to diagnose. Identify which plugin or GTM tag owns each request.

What should I check next?

Compare the final order with the GA4 purchase mapping. Keep the same item identifiers across the funnel.

What changed in this guide

  • 25 October 2026: Added explicit begin_checkout parameter mappings, current Google tag setup, event-specific checks and duplicate-sender guidance; removed live-container publishing instructions. Separated checkout entry from shipping and payment submission. Replaced the repeated introduction with the next event-specific inspection step.

Sources

7 sources
  1. 1Google requires currency when value is sent↩
  2. 2data layer↩
  3. 3the plugin's own instructions↩
  4. 4Google's setup guide↩
  5. 5Data Layer Variables↩
  6. 6Google Analytics: GA4 Event↩
  7. 7debug mode↩