
GTM4WP vs TagManagerBuilder for WooCommerce: Which Gets Your Tracking Working?

Quick answer
GTM4WP and TagManagerBuilder are not rivals — they solve two different halves of the same job. GTM4WP installs your GTM container on WordPress and pushes WooCommerce events into the dataLayer; it builds no tags, so on its own nothing reaches GA4. TagManagerBuilder generates the whole GTM container — tags, triggers and variables for GA4, Google Ads and Meta — but it installs nothing and pushes no dataLayer, so on its own it has nothing to listen to. The setup that actually works is both together: GTM4WP for the dataLayer, TagManagerBuilder for the container, imported with Merge.
The problem: you installed GTM4WP and nothing is tracking
This is the most common WooCommerce tracking story there is. A store owner reads that GTM4WP is the standard way to put Google Tag Manager on WordPress, installs the plugin, enters a container ID, and waits. A day later GA4 shows no purchases, no begin_checkout, nothing at all — and the owner concludes the plugin is broken, or that WooCommerce tracking is broken, and starts over with a different tool. Usually neither is broken. The owner bought a dataLayer and expected a tracking setup.
WooCommerce tracking needs three things, and they are three different jobs. First, the GTM container code has to load on every page of the store. Second, the store has to push structured ecommerce data — product, price, quantity, order total — into the dataLayer at the right moments. Third, the GTM container has to contain tags that listen for those pushes and forward them to GA4, Google Ads and Meta. Miss any one of the three and the reports stay empty, and each missing piece produces the same symptom: silence.
GTM4WP does jobs one and two. TagManagerBuilder does job three. Once you see that, the comparison stops being a contest and becomes a checklist.
What GTM4WP actually does
GTM4WP — Google Tag Manager for WordPress, by Thomas Geiger — is a free, open-source WordPress plugin with more than 700,000 active installs and a 4.5 out of 5 rating from 155 reviews on WordPress.org (version 2.0.6, updated 12 October 2026; it needs WordPress 6.3 or newer and PHP 8.0 or newer). It does two things, and it does them well.
First, it places the GTM container code on your site so you do not add it by hand — the script in the head and the noscript fallback after the opening body tag, in Google’s recommended positions. It also supports multiple containers, each with its own environment settings, custom domain and custom path. Second, it fills the dataLayer: page and post data, author, search terms, browser and device data, and — the part WooCommerce stores care about — the GA4 ecommerce events. On the WooCommerce integration tab it supports the Cart, Checkout, Mini-Cart, Product Collection and cross-sell blocks as well as the classic shortcode pages, works with High Performance Order Storage, and adds Enhanced Conversions user data to the purchase event for Google Ads. It does not support promotions, because WooCommerce has no promotions feature.
The setup is short, and the one switch that matters is easy to miss:
- In WordPress, go to Plugins > Add New, search for “Google Tag Manager for WordPress”, check the author is Thomas Geiger, then install and activate it.
- Go to Settings > Google Tag Manager and paste your GTM container ID (
GTM-XXXXXXX) into the Container ID field. Leave container code placement on — the default puts the snippet where Google wants it. - Go to the Integration tab, open WooCommerce, and turn on Track e-commerce. Despite the old name — a holdover from Universal Analytics — this is the switch that activates the modern GA4 event schema (
view_item,add_to_cart,begin_checkout,purchase). - Turn on Cart Content in Data Layer as well, so the current cart is available on every page load, and save.
Step 3 is where most “GTM4WP doesn’t work” stories start: the switch is off by default. A store with GTM installed, a container ID entered and that switch off has a container listening to silence — no event is ever pushed, so no tag can ever fire. Check it in the page source before you blame anything else: open a product page, view source, search for dataLayer.push. If there is no push block, ecommerce data is not reaching GTM at all.
What GTM4WP cannot do
Here is the honest half of the comparison. GTM4WP sends nothing to GA4, Google Ads, Meta or TikTok itself. Every tag, trigger and variable is built by you inside GTM — the GA4 configuration tag, one GA4 event tag per ecommerce event, the Custom Event triggers, the dataLayer variables for value, currency and items. For a store that wants GA4, Google Ads and Meta purchase tracking, that is dozens of objects built by hand, and one wrong event name or one Page View trigger where a Custom Event trigger belongs and the funnel breaks. PixelYourSite’s own comparison puts it plainly: GTM4WP and GTM Kit “load your GTM container and fill a data layer. They don’t send anything to Meta, Google Ads, TikTok or GA4 themselves: every tag, trigger and variable is built by you in GTM.”
There are also real quirks to know about. WP Full Picture tested GTM4WP hands-on against its alternatives and rated it 7.5 out of 10 overall, but found WooCommerce tracking issues in its test store: adding two grouped products reported all of them as added, and there were problems with view_item, add_to_cart and remove_from_cart in the block-based setup. And the timing trap applies to GTM4WP data as much as to any other: GTM4WP’s own documentation says visitor, customer and cart data no longer arrives in the first dataLayer push, so a tag that reads one of those values needs a Custom Event trigger — a Page View trigger fires before the values are there, and the tag would send nothing. Finally, buyers who pay off-site and never return to the thank-you page need server-side tracking — GTM4WP’s own settings say so, and no browser-side plugin can fix that.
What TagManagerBuilder actually does
TagManagerBuilder does the half GTM4WP leaves to you: it generates a complete, ready-to-import GTM container for your platform, tools and events, with your real tracking IDs inside it — not placeholders. You pick WooCommerce, tick GA4, Google Ads and Meta, pick your events, enter your IDs, and download a container JSON that already contains every tag, trigger and variable the selection needs. The walkthrough below uses the full WooCommerce selection — all 23 events, GA4 plus Google Ads plus Meta — so you can see exactly what comes out.







That is the whole container half done in one pass — 37 tags, 23 triggers and 6 variables for the full selection, each event tag wired to a Custom Event trigger with the exact event name, so the timing trap from the GTM4WP section cannot happen. A smaller selection generates proportionally less: the four checkout events (add_to_cart, begin_checkout, add_payment_info, purchase) generate 11 tags, 5 triggers and 6 variables. Import it in GTM under Admin > Import Container, choose Merge — never Overwrite, which would delete your existing tags — and pick “Merge” for conflicting tags, then test in Preview before you publish. The WooCommerce hub walks through the import step by step, and the individual recipes are on the recipe index: GA4 purchase, GA4 begin_checkout, GA4 add_to_cart, Google Ads purchase and Meta purchase.
What TagManagerBuilder cannot do
The honest half again. The builder installs nothing on your store and pushes no dataLayer. A generated container imported into GTM will sit there with its tags ready and never fire once, if nothing pushes begin_checkout or purchase into the dataLayer — the container only listens. So the builder alone is not a tracking setup either; it is the container half, and it needs a dataLayer source on the store, usually GTM4WP. That is why this comparison ends in a combination, not a winner. The builder also generates a web container only — server-side tracking needs a server container, covered in the server-side guide.
To show what a finished container looks like once it is live, here is this site’s own GTM container — Tag Manager Builder, GTM-5NF3RF2P — shown read-only. It is the site’s own container, not the WooCommerce container generated above, and it is shown so you can see what the tags, triggers and variables in a working container actually look like.


Head to head: GTM4WP vs TagManagerBuilder
| What you need | GTM4WP | TagManagerBuilder |
|---|---|---|
| Installs the GTM container code on WordPress | Yes — the plugin places the snippets for you | No — you install the container yourself, or GTM4WP does |
| Pushes WooCommerce events to the dataLayer | Yes — GA4 ecommerce events once “Track e-commerce” is on | No — it generates tags that listen for those pushes |
| Builds the GA4, Google Ads and Meta tags | No — you build every tag, trigger and variable in GTM | Yes — a ready-to-import container with all three tools |
| Events covered (WooCommerce) | The full GA4 ecommerce set, via the dataLayer | 23 events to pick from, per tool |
| Time to a working container | Hours of manual tag building after install | Minutes to generate; import and test in Preview |
| Cost | Free, open source (700,000+ installs) | Free to generate and download the container |
| Server-side tracking | No — browser dataLayer only; refunds via the Data Manager API | No — generates a web container; server setup is separate |
| Works without the other | Yes, if you build all the tags yourself | Yes, if a dataLayer already exists on the store |
| Biggest mistake users make | Leaving “Track e-commerce” off, then wondering why nothing fires | Importing with Overwrite, or never testing in Preview |
Read the table as a parts list, not a scorecard. GTM4WP wins the dataLayer half outright and loses the container half outright; TagManagerBuilder is the exact reverse. A store that picks one and ignores the other has half a setup, whichever half it picked.
The setup that works: use both, in this order
For a WooCommerce store starting from nothing, the fastest reliable route uses both tools, and the order matters — dataLayer first, container second, testing last.
- Install GTM4WP and switch the dataLayer on. Install the plugin, enter your container ID, and turn on Track e-commerce under Integration > WooCommerce. Confirm the push exists: view the source of a product page and search for
dataLayer.push. - Generate your container. Open the WooCommerce builder, pick GA4, Google Ads and Meta, tick the events you want — the full 23 if you want the whole funnel, or the four checkout events to start — enter your real tracking IDs, and download the container JSON.
- Import with Merge. In GTM, go to Admin > Import Container, choose your file, select Merge and “Merge” for conflicts. Overwrite would delete your existing tags — never use it on a live container.
- Preview a full purchase. Open GTM Preview, walk the store as a shopper — product page, add to cart, checkout, test order with cash on delivery or a gateway sandbox — and watch each tag fire on its Custom Event trigger. Check the variables carry
value,currencyanditems. - Check GA4 DebugView. In GA4, open Admin > Data display > DebugView and confirm the events arrive with the right names and parameters. If an event fires in Preview but never reaches DebugView, the problem is downstream of GTM — wrong Measurement ID, or consent holding the tag — and the purchases guide walks through the seven causes.
- Publish the container. Only after Preview and DebugView both look right. A container that was tested but never published tracks nothing for real visitors — Preview is not live tracking.
- Verify the funnel, not just one event. The checkout funnel guide gives a six-row verification checklist for the whole chain from
add_to_carttopurchase.
Two details from the earlier guides still apply. If purchase is the only event missing while the rest of the funnel works, the cause is the thank-you page, not this setup — buyers who pay off-site and never return need the server-side route. And if your checkout is a one-page or custom checkout, confirm the begin_checkout push actually fires on it; a custom checkout that skips the standard hooks can silently drop events even with GTM4WP installed.
When to use which — the decision table
| Your situation | Use this | Why |
|---|---|---|
| Starting from nothing on WooCommerce | Both — GTM4WP + TagManagerBuilder | You need the dataLayer and the container; neither tool supplies both |
| GTM4WP installed, nothing reaching GA4 | TagManagerBuilder (the container half) | Your dataLayer is probably fine — the tags were never built |
| Tags built by hand, events firing, values empty | Neither — fix the triggers | Page View triggers reading values before the push; switch to Custom Event triggers |
| You already have a working dataLayer (custom code, another plugin) | TagManagerBuilder alone | The container is the only missing half |
| You want full control over every tag and variable | GTM4WP alone, hand-built container | Hand-building is slower but you own every decision; the generator is a shortcut, not a requirement |
| You need server-side tracking as well | Both, plus a server container | Neither tool supplies server-side; add it after the browser setup works |
| Not on WooCommerce (plain WordPress, another platform) | GTM4WP for WordPress; the builder’s WordPress recipes for the container | GTM4WP still installs GTM and fills the page dataLayer; the builder has a WordPress hub with its own event set |
Where the other tools fit
GTM4WP and TagManagerBuilder are not the only two options, and an honest comparison says so. GTM Kit is the closest GTM4WP alternative: free, with WooCommerce events including view_cart, add_shipping_info and add_payment_info, and a Premium tier at €85 a year that adds add_to_wishlist, refund and order_paid plus container presets. It also imports settings from GTM4WP on first activation, so switching is low-friction. It solves the same half GTM4WP solves — the dataLayer — so it pairs with TagManagerBuilder the same way. Stape’s Setup Wizard is the server-side equivalent of a container generator: it builds web and server GTM templates and can import them automatically with Google auth, or as a manual download — but the server container it creates needs Stape hosting. If your goal is server-side first, start there; if your goal is fixing browser tracking on WooCommerce, the GTM4WP-plus-builder route is the shorter path.
Mistakes that break either route
| Mistake | What happens | Fix |
|---|---|---|
| “Track e-commerce” left off in GTM4WP | No event is ever pushed; every tag stays silent | Turn it on under Integration > WooCommerce and check the page source for dataLayer.push |
| Tags on Page View triggers | Tags fire but variables are undefined |
Custom Event triggers with the exact event name |
| Container imported with Overwrite | Your existing tags are deleted | Always import with Merge; keep a backup export of the live container |
| Container tested in Preview but never published | Works for you, nothing for real visitors | Publish after Preview and DebugView both pass |
| GTM installed twice (plugin + manual code) | Events fire twice; GA4 and Meta double-count | One installer only — GTM4WP or manual, never both |
Event name mismatch (Begin_Checkout vs begin_checkout) |
Tag listens for an event that never comes | Exact lowercase GA4 names on both sides |
| Expecting the builder to fix a missing dataLayer | Generated tags never fire | Fix the push first — the container only listens |


Frequently asked questions
Is GTM4WP enough on its own for WooCommerce tracking?
No — not by itself. GTM4WP installs GTM and pushes the WooCommerce dataLayer, but it builds no tags. Until you build the GA4, Google Ads and Meta tags in GTM — by hand, or by importing a generated container — nothing reaches any platform. It is the dataLayer half of the setup, not the whole setup.
Can TagManagerBuilder replace GTM4WP?
No. TagManagerBuilder generates the GTM container — the tags, triggers and variables — but it installs nothing and pushes no dataLayer. If no plugin or code pushes WooCommerce events into the dataLayer, the generated tags have nothing to listen to and never fire. The two tools do different jobs, and a working store uses both.
Do I need to pay for either tool?
GTM4WP is free and open source. TagManagerBuilder generates and downloads the container without charge. Google Tag Manager and GA4 are also free. The only costs in this setup are the ones you choose — for example, server-side hosting if you add a server container later.
Which is better for a store that already has GTM4WP installed?
Generate the container. If GTM4WP is installed and “Track e-commerce” is on, your dataLayer is almost certainly already pushing events — the missing half is the container. Import the generated container with Merge, test in Preview, and check GA4 DebugView.
Does GTM4WP work with one-page or custom checkouts?
Mostly, with one check: GTM4WP relies on WooCommerce’s standard hooks, so a custom checkout that replaces the standard pages can skip the hooks that push begin_checkout and purchase. If checkout events are missing while product events work, confirm the push fires on your actual checkout page before rebuilding anything else.