- Home
- Blog
- WooCommerce
- WooCommerce Facebook Pixel Initiate Checkout with GTM
WooCommerce Facebook Pixel Initiate Checkout with GTM
Track WooCommerce Initiate Checkout with GTM. Map begin_checkout to InitiateCheckout, inspect product data and compare the event in Meta.
Shahzada Ali Hassan, founder of Crisperchecked against 11 sources
Tools
The short answer
Track WooCommerce Initiate Checkout activity by mapping begin_checkout from GTM4WP to Meta's InitiateCheckout event in Google Tag Manager. The tutorial export uses a standard Meta event for this mapping. This guide is for store owners and implementers who need to verify the event and its product data.
- GTM trigger:
begin_checkout; Meta event:InitiateCheckout. - If an existing integration sends this event, inspect it before adding another tag.
- Use a staging store and a test GTM container.
- Steps and settings checked against linked documentation and tutorial files 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.
On this page 10 sections
- How do I track WooCommerce Initiate Checkout with GTM?
- How do I install GTM on the test store?
- How do I check the base Facebook Pixel?
- Where does begin_checkout come from?
- How do I configure the InitiateCheckout tag?
- How do I test InitiateCheckout in Meta?
- Can I reuse the tutorial container?
- When is this setup the wrong fix?
- What should I check after this event?
- What changed in this guide
01How do I track WooCommerce Initiate Checkout with GTM?
Use begin_checkout as the GTM source and InitiateCheckout as the Meta destination. GTM4WP's event referencegtm4wp.com lists begin_checkout among its WooCommerce ecommerce events. Opening checkout is the boundary for this event; do not wait for a paid order.
02How do I install GTM on the test store?
Install GTM4WP and point it at the test container, then confirm the connection in Preview.
1. Connect the test store to GTM
Use one installation method.
- On a staging WooCommerce store, install and activate GTM4WP by Thomas Geigerwordpress.org.
- In its settings, enter the intended test container ID.
- Enable container output.
- Start GTM Previewsupport.google.com and connect the staging URL.
Done when Tag Assistant identifies that container and shows the page events.
03How do I check the base Facebook Pixel?
Use the intended existing pixel ID in a separate PageView tag, then verify that base event before adding the conversion tag.
2. Check the PageView tag
Do not add a second base tag if one already sends PageView.
- Create a separate base tag from the template in Meta's GTM repositorygithub.com.
- Enter your intended pixel ID.
- Set the standard event to PageView.
- Set All Pages as its trigger.
- Apply the store's consent controls before testing.
Done when the preview session shows the intended PageView tag and you can identify the same pixel in Events Manager.
04Where does begin_checkout come from?
Enable the GTM4WP ecommerce integration, perform the action and inspect begin_checkout in Preview.
3. Enable and inspect ecommerce data
- In GTM4WP's WooCommerce settings, enable Track e-commerce. The plugin settings referencegtm4wp.com locates older versions under Integration > WooCommerce.
- Open checkout with a populated cart.
- In GTM Preview, select
begin_checkout. - Inspect its data layer, the values a page makes available to tags.
Done when the event exists and its ecommerce fields agree with the action you performed.
05How do I configure the InitiateCheckout tag?
Read the event fields with Data Layer Variables and map the product array through the original parameter generator.
The original Facebook Parameter Generator repository is archivedgithub.com. To retain this tutorial's mapping, import its template into the test container, following Google's template import instructionsdevelopers.google.com.
- Download the generator's template.tplraw.githubusercontent.com.
- In the test container, go to Templates > Variable Templates > New.
- Use More actions > Import.
- Select the file and save.
Done when Facebook Parameter Generator appears as a variable template with the documented array and key fields.
4. Map the event fields
The InitiateCheckout tutorial export contains the original Facebook Parameter Generator mappings: input ecommerce.items, ID key item_id, name key item_name, price key price, and quantity key quantity.
- Create Version 2 Data Layer Variables for the paths in the table below; Google describes how these variables read data-layer valuessupport.google.com.
- Create a Facebook Parameter Generator variable for each output: contents, IDs, name and number of items.
- In each generator variable, keep the export's inputs listed above.
value
- Input
- ecommerce.value
- Check
- The value on this event
currency
- Input
- ecommerce.currency
- Check
- The currency on this event
contents / content_ids / content_name
- Input
- ecommerce.items
- Check
- Facebook Parameter Generator outputs
num_items
- Input
- ecommerce.items
- Check
- Generator quantity total
content_type
- Input
- Literal product
- Check
- The tutorial export's setting
Done when the variables on the selected event resolve to its own products and amounts, with no missing required input.
5. Save the event tag and trigger
A trigger is the condition that tells GTM when to run this tag.
- Create a tag from the Meta Pixel templateraw.githubusercontent.com.
- Select Standard and enter or choose InitiateCheckout.
- Enter your pixel ID.
- Map the properties above under Object Properties.
- Leave automatic ecommerce mapping off for this explicit mapping.
- Create a Custom Event trigger named
begin_checkout, with regular-expression matching off. - Save the tag and trigger.
Done when the saved tag shows InitiateCheckout, the intended pixel ID and only the intended begin_checkout trigger.
06How do I test InitiateCheckout in Meta?
Compare the event and its variables in GTM Preview with the corresponding event in Meta Test Events.
6. Compare the source event with Meta
- In GTM Previewsupport.google.com, open checkout with a populated cart.
- Select
begin_checkout. - Inspect the fired tag and variable values.
- In Meta Events Manager, open Test Events for the same pixel.
- Compare
InitiateCheckoutwith that action. - Test the store's consent choices and record the expected behavior for each.
Done when the source event, tag and received Meta event agree, and every extra firing has an explained cause.
A fired tag is a local execution check. Keep destination receipt and the field comparison in your notes before handing the draft to the person responsible for release.
07Can I reuse the tutorial container?
Use the existing export as a reference or import it into a separate test container. Google's import workflowsupport.google.com lets you preview changes before confirming them.
- Download the file
- Emailed to you
Unlock this file
Three details, and the full file is yours
No account needed. Unlock once and every snippet on the blog opens.
Optional. Review the imported configuration
- Choose Admin > Import Container.
- Select the file.
- Select a test workspace.
- Review the Merge preview.
- Replace the imported pixel ID before running any tag.
- Check that the export's consent settings match your test plan.
- Check that its included base tag matches your test plan.
Done when the import preview contains only the intended changes, the pixel ID is yours and the tags remain a reviewed test draft.
08When is this setup the wrong fix?
Use this guide for a custom browser event mapping. If another integration already sends the same action correctly, repair or document that integration before adding another sender. A missing source event needs a plugin or theme investigation first.
- Adding a second sender: the same action can be sent twice. Inventory app, theme and GTM senders before adding this tag.
- Using All Pages for InitiateCheckout: unrelated visits qualify. Restrict the event tag to
begin_checkoutand its intended page or action. - Mapping absent fields: the tag can send incomplete product data. Check variables on the event itself before changing the Meta tag.
09What should I check after this event?
Follow the next action in the same test session with the Purchase guide. Keep separate notes for each source event so you can find where the funnel stops matching.
10What changed in this guide
- 25 October 2026: Documented the archived generator import path. Added event-specific field and completion checks and replaced live-publish instructions with test-container review. Updated GTM4WP settings guidance against its current documentation.
Sources
11 sources
- 1GTM4WP's event referencegtm4wp.com↩
- 2GTM Preview can inspect an unpublished draftsupport.google.com↩
- 3GTM4WP by Thomas Geigerwordpress.org↩
- 4Meta's GTM repositorygithub.com↩
- 5plugin settings referencegtm4wp.com↩
- 6Facebook Parameter Generator repository is archivedgithub.com↩
- 7Google's template import instructionsdevelopers.google.com↩
- 8template.tplraw.githubusercontent.com↩
- 9Google describes how these variables read data-layer valuessupport.google.com↩
- 10Meta Pixel templateraw.githubusercontent.com↩
- 11Google's import workflowsupport.google.com↩

