- Home
- Blog
- WooCommerce
- WooCommerce GA4 begin_checkout tracking with GTM
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.
Shahzada Ali Hassan, founder of Crisperchecked against 7 sources
Tools
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.
- If a plugin already sends this event to GA4, inspect it before adding a second tag.
- Send
begin_checkoutas the GA4 event name. - Google requires currency when value is sentdevelopers.google.com.
- Steps and settings checked against Google and GTM4WP documentation on 25 October 2026.
FREE AUDIT
NO LOGINCheck what Meta and Google can count on your site
- Your site
Crisper- Meta and Google count it
Enter your website to see how good its tracking is, and whether Meta is likely restricting it.
01When 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.
02What 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.
03How 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
- Open GTM Preview on a staging store.
- Start checkout.
- Select the data-layer event carrying that action's products.
- 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.
- Reuse the store's Google tag and GA4 web stream.
- For Google's alternate methodsupport.google.com, enter the stream's Measurement ID as Tag ID.
- 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.
- Create a Data Layer Variable for each row in the table below.
- Choose Version 2 for nested fieldssupport.google.com.
- 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
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.
- Save a Custom Event trigger whose event name exactly matches the data-layer event inspected in step 1. For example, use
begin_checkoutonly if that is what the integration pushes. - Create a Google Analytics: GA4 Eventsupport.google.com tag.
- Enter the intended Measurement ID.
- Set Event Name to
begin_checkout. - Map each table row in Event Parameters.
- Attach the Custom Event trigger you saved in this step.
- Save the tag.
Done when the saved event name matches Preview, and reopening the tag shows that event name, stream, parameters and trigger.
04How 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
- Repeat the action in Preview.
- Check that the GA4 tag fires on the observed checkout-entry data-layer event with the correct parameters.
- Enable debug modesupport.google.com for the test session.
- Open GA4 Admin > Data display > DebugView.
- Select
begin_checkoutand compare its parameters and items with your test action. - Repeat with a different product and quantity.
- Test the store's consent choices.
- 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.
05Why 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.
06What should I check next?
Compare the final order with the GA4 purchase mapping. Keep the same item identifiers across the funnel.
07What 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.

