best setup for GTM4WP.
- 3checks in the recipe
- 1set for you
- 2shown as steps
- 0to take care with
Short answer
Enter your Tag Manager container ID, push the page type to the data layer, and switch the WooCommerce tracking on if you run a shop.
The Tunewise recipe for GTM4WP looks at 3 checks. It starts with: Page type pushed to the data layer. Tunewise changes 1 for you, and shows you the steps for 2. All of them are low risk.
Last checked on 2026-11-05.
- Page type pushed to the data layerafter: set for you
- GTM container ID setafter: you have the steps
- WooCommerce tracking onafter: you have the steps
These are real checks from the GTM4WP recipe. The ring above fills as each one is done. The picture shows the order of work, not your shop.
Good to know
- Without a container ID the Tag Manager snippet loads nothing.
- Purchases are not passed on unless the WooCommerce integration is on.
- Tags for category and product pages need the page type to fire correctly.
the setup, step by step.
The "why" below is what Tunewise tells a shop where the check applies. Tunewise first reads your shop, so you only see the checks that fit it.
GTM container ID set
Low riskTunewise shows you the stepsTags- Why
- The Tag Manager snippet on your shop loads nothing without a container ID.
Page type pushed to the data layer
Low riskTunewise changes it for youData layer- Why
- Tags for your categories and product pages need the page type to fire correctly.
WooCommerce tracking on
Low riskTunewise shows you the stepsData layer- Why
- Purchases of your products are not pushed to the data layer unless WooCommerce integration is on.
- Where to find it
- Look for "WooCommerce tracking" in the GTM4WP settings.
Leave these alone or take care
- The container ID and the WooCommerce tracking are shown to you, not set for you.
These checks carry more risk, or Tunewise does not change them by itself. For those it shows you the steps and you decide.
- GTM container ID setShown only: you make the change
- WooCommerce tracking onShown only: you make the change
It depends on your shop
1 of 3 checks only applies to some shops. This is what each one depends on.
- WooCommerce tracking on: depends on the kind of site you run (a store).
Tested on
- Last checked
- 2026-11-05
- Versions the recipe fits
- 2.0 to 2.0.x
- After each change
- Tunewise checks the home page, product page, cart and checkout, sitemap, PHP errors, robots.
- Recipes file
- Version 1.33.0, signed, checked before this page was built.
This recipe has no test record with a plugin version in the recipes file yet, so none is shown.
What changed in this recipe
- Updated for GTM4WP 2.0: the page type and WooCommerce tracking settings have new names, and the tune-up now reads them. Checked on 5 November 2026 against version 2.0.6.
Questions and answers
What is the best setup for GTM4WP?
Enter your Tag Manager container ID, push the page type to the data layer, and switch the WooCommerce tracking on if you run a shop.
What does Tunewise check in GTM4WP?
GTM container ID set; Page type pushed to the data layer; WooCommerce tracking on.
Can Tunewise change the GTM4WP settings for me?
Yes, for 1 of 3 checks. For 2 it shows you the steps and you make the change yourself. Every change is explained first, checked after, and can be undone.
Which GTM4WP settings should I leave alone?
The container ID and the WooCommerce tracking are shown to you, not set for you.
Does the best setup for GTM4WP depend on my shop?
Yes, for 1 of 3 checks. For example, "WooCommerce tracking on" depends on the kind of site you run (a store).
Which version of GTM4WP was this tested on?
Last checked on 2026-11-05. The recipe fits versions 2.0 to 2.0.x.
This page is short because the recipe holds fewer than 3 checks with both a reason and a tip, and we have not written up our notes for it yet. Until then, we ask search engines not to list it.
Plugin names and icons belong to their owners. Tunewise is not affiliated with or endorsed by them. The icon comes from the plugin's own listing on WordPress.org.
Let Tunewise set up GTM4WP for your shop
The free plugin reads your shop and shows your plan before anything changes. Update Guard is on from the first minute.