This tutorial shows how to connect a WordPress website to Google Tag Manager using the updated GTM4WP plugin interface in 2026. It explains where to paste the GTM container code and how to enable WooCommerce DataLayer options so events like view_item, begin_checkout, and purchase fire correctly.
A short editorial from the VEONIB team on why this content matters.
The video correctly highlights that GTM4WP's 2026 update moved DataLayer controls, and many users fail to enable them, breaking ecommerce tracking.
SEONIB notes that most tutorials skip verifying DataLayer events after setup; this walkthrough's Preview-mode check is the real differentiator.
WooCommerce store owners and marketers should follow this guide, then audit their DataLayer events in GTM Preview before launching ad campaigns.
A WordPress plugin that integrates Google Tag Manager and enables DataLayer tracking.
A JavaScript object that stores and passes ecommerce event data to Google Tag Manager.
A tool for managing and deploying marketing tags without editing site code.
Structured ecommerce event data pushed to the DataLayer for WooCommerce stores.
The GTM snippet pasted into a website to connect it with a Tag Manager container.
A Google Chrome extension that verifies tag and DataLayer activity on a site.
A DataLayer event triggered after a successful order containing transaction data.
The process of capturing user shopping actions like views, carts, and purchases.
Why is my DataLayer not showing events after connecting GTM?
You likely haven't enabled the WooCommerce DataLayer options in GTM4WP settings; enable them and save changes.
Where do I paste the Google Tag Manager container code in GTM4WP?
In GTM4WP settings, click the 'Add Row' button and paste the container code from your GTM web container.
How do I verify that WordPress is connected to Google Tag Manager?
Use GTM Preview mode and the Tag Assistant extension to confirm the container is detected on your site.
Which WooCommerce options must be enabled for DataLayer events?
Enable Track eCommerce, Cut Content Data Layer, Customer Data in Data Layer, and Order Data in Data Layer.
Why does view_item not appear in the DataLayer?
The DataLayer options in GTM4WP's WooCommerce section are not enabled, so events are not pushed.
Can I connect multiple GTM containers with GTM4WP?
Yes, the updated interface allows adding multiple rows to connect more than one GTM container.
What should I do after enabling DataLayer options?
Save the settings, refresh your site, and re-check with GTM Preview to confirm events fire.
Does the purchase event include customer details?
Yes, once Order Data in Data Layer is enabled, the purchase event includes name, phone, address, and transaction ID.
Is the old GTM4WP integration method still valid?
No, the 2026 update moved DataLayer options from Integrations to the WooCommerce tab, so the old method no longer applies.
What can I do after DataLayer events are working?
Set up conversion tracking for Google Ads, Facebook CAPI, GA4, or TikTok using GTM tags and triggers.