Gtm audit

Moderate effort

Found on 59% of audited stores.

Install Google Tag Manager on your store and configure it to fire GA4 with full ecommerce event tracking (view_item, add_to_cart, purchase, and more).

What it is

Google Tag Manager (GTM) is a free tool from Google that acts as a "container" on your website — it lets you install and manage tracking scripts (like Google Analytics 4, Meta Pixel, TikTok Pixel, and dozens more) without editing your store's code every time. Right now, no GTM container is detected on your site, which means you are almost certainly missing critical data about how shoppers find, browse, and buy from your store. GA4 ecommerce events are the specific signals (like "viewed a product," "added to cart," "completed a purchase") that GA4 needs to build reports you can actually act on.

Why it matters

Without GTM and GA4 ecommerce tracking, you are flying blind: you cannot see which marketing channels drive real revenue, which products are viewed but never bought, or where shoppers abandon your funnel. Google Ads Smart Bidding and Performance Max campaigns require conversion data from GA4 to optimise spend — without it, you are wasting ad budget. Retailers with proper ecommerce event tracking consistently find 15–30% of ad spend is going to non-converting channels that they only discover through data. Beyond advertising, GA4 audience data powers remarketing lists, personalisation, and Merchant Center signals that directly affect your Shopping and Search rankings.

How to fix it

  1. Create a free Google Tag Manager account at tagmanager.google.com and set up a new Container for your website — note the Container ID (format: GTM-XXXXXXX).
  2. Install the GTM snippet on every page of your store: paste the <script> snippet in the <head> and the <noscript> snippet immediately after the opening <body> tag.
  3. Create a free Google Analytics 4 property at analytics.google.com and copy your GA4 Measurement ID (format: G-XXXXXXXXXX).
  4. Inside GTM, create a new Tag of type 'Google Tag' (or 'GA4 Configuration'), enter your Measurement ID, and set it to fire on the 'All Pages' trigger — publish the container.
  5. Enable enhanced ecommerce: in GTM, create event tags for the key ecommerce events (view_item, add_to_cart, begin_checkout, purchase) using the GA4 Event tag type, pulling data from your store's data layer — most platforms provide a data layer plugin or built-in integration to populate these automatically.
  6. Verify the setup using GTM Preview mode and the GA4 DebugView (found under Admin › DebugView in GA4) to confirm events are firing correctly before going live.

Fix it on your platform

Pick your platform for the exact steps.

How to fix gtm audit on Shopify
  1. Go to Online Store › Themes › and click 'Edit code' on your active theme.
  2. Open theme.liquid. Paste the GTM <script> snippet just before the closing </head> tag, and the <noscript> snippet just after the opening <body> tag.
  3. For GA4 ecommerce events, install the free 'GA4 & GTM Kit' app (by House of Analytics) or 'Elevar' from the Shopify App Store — both push a complete ecommerce data layer so GTM can pick up view_item, add_to_cart, and purchase events automatically.
  4. In GTM, create GA4 Event tags that read from the data layer variables the app creates (e.g. ecommerce.items, event = 'add_to_cart') and publish the container.
  5. Verify by opening your storefront in GTM Preview mode and walking through a product page and checkout.
How to fix gtm audit on Shopify Plus
  1. Follow the same theme.liquid steps as Shopify above.
  2. Additionally, add the GTM noscript snippet to your checkout.liquid (available only on Shopify Plus) under Online Store › Themes › Edit code › checkout.liquid, just after the opening <body> tag — this enables purchase event tracking on the order confirmation page.
  3. Use Elevar or a custom data layer script to push checkout and purchase events from the checkout pages.
  4. Publish the GTM container and verify purchase events in GA4 DebugView.
How to fix gtm audit on WooCommerce
  1. Install the free 'GTM4WP' plugin (by Thomas Geiger) from the WordPress plugin directory: Plugins › Add New › search 'GTM4WP'.
  2. Go to Settings › Google Tag Manager, enter your GTM Container ID (GTM-XXXXXXX), enable 'Track eCommerce', and save.
  3. GTM4WP automatically populates a full WooCommerce data layer with view_item, add_to_cart, begin_checkout, and purchase events.
  4. In GTM, create GA4 Event tags listening for those data layer events and publish.
  5. Verify using GTM Preview mode and GA4 DebugView.
How to fix gtm audit on BigCommerce
  1. In the BigCommerce admin, go to Storefront › Script Manager › Create a Script.
  2. Set Location to 'Head', Pages to 'All Pages', and paste the GTM <script> snippet. Save.
  3. Create a second script, set Location to 'Footer' and paste the GTM <noscript> snippet.
  4. For ecommerce events, install the 'Better.io' or 'Littledata' app from the BigCommerce App Marketplace — these inject a GA4-compatible ecommerce data layer automatically.
  5. Configure GA4 Event tags in GTM for the data layer events and publish the container.
How to fix gtm audit on Wix
  1. In the Wix dashboard, go to Settings › Custom Code (under the 'Advanced' section).
  2. Click '+ Add Custom Code', paste the GTM <script> snippet, set it to load in the <head>, apply to 'All Pages', and save.
  3. Add a second custom code entry for the GTM <noscript> snippet, set it to load in the body (start of <body>).
  4. For ecommerce events, connect your Wix store to GA4 via Settings › Integrations › Google Analytics — this provides basic purchase tracking. For full ecommerce event coverage (view_item, add_to_cart), use the Wix native GA4 integration alongside GTM or install the 'Littledata' app.
  5. Publish your site and verify in GTM Preview mode.
How to fix gtm audit on Squarespace
  1. Go to Settings › Developer Tools › Code Injection (on Business plan or higher).
  2. Paste the GTM <script> snippet into the 'Header' field and the <noscript> snippet into the 'Footer' field. Save.
  3. For GA4, also go to Settings › Analytics › Google Analytics and enter your GA4 Measurement ID for Squarespace's native ecommerce events (purchase tracking).
  4. For richer events (view_item, add_to_cart), you will need custom code injections or the Littledata connector for Squarespace Commerce.
  5. Verify with GTM Preview mode.
How to fix gtm audit on Webflow
  1. In the Webflow Designer, go to Project Settings › Custom Code.
  2. Paste the GTM <script> snippet in the 'Head Code' field and the <noscript> snippet in the 'Footer Code' field. Save and republish your site.
  3. For ecommerce events, Webflow's native ecommerce does not auto-populate a GA4 data layer — add custom scripts on product pages and the order confirmation page to push data layer events, or use a third-party connector such as Analyzify.
  4. In GTM, create GA4 Event tags for the data layer events and publish.
  5. Verify in GTM Preview and GA4 DebugView.
How to fix gtm audit on Adobe Commerce (Magento)
  1. Install the 'MagicToolbox GTM' extension or use the community 'Yireo GoogleTagManager2' module via Composer: composer require yireo/magento2-googletagmanager2.
  2. Go to Stores › Configuration › Sales › Google API › Google Tag Manager, enter your GTM Container ID, and enable.
  3. The module automatically pushes a data layer with Magento ecommerce events (view_item, add_to_cart, purchase) for GTM to consume.
  4. In GTM, create GA4 Event tags reading from the data layer and publish the container.
  5. Clear the Magento cache (System › Cache Management › Flush All) and verify with GTM Preview mode.
How to fix gtm audit on PrestaShop
  1. From the PrestaShop back office, go to Modules › Module Manager and search for 'Google Tag Manager' — install 'Google Tag Manager by Business Tech' or the official GTM module.
  2. Enter your GTM Container ID in the module configuration and enable enhanced ecommerce data layer output.
  3. The module will push ecommerce events (view_item, add_to_cart, purchase) to the data layer automatically.
  4. In GTM, create GA4 Event tags and publish. Verify with GTM Preview mode.
How to fix gtm audit on Headless / Custom (I build in code)
  1. Add the GTM loader snippet to your root layout component (e.g. _document.tsx in Next.js or app.html in SvelteKit) so it fires on every page.
  2. Push ecommerce events to window.dataLayer manually or via a data layer helper library (e.g. @next/third-parties for Next.js includes a GTM component).
  3. Map each key user action (product view, add to cart, begin checkout, purchase) to the corresponding GA4 ecommerce event schema, including the items array.
  4. In GTM, create GA4 Event tags triggered by each dataLayer.push event name and publish.
  5. Use GTM Preview and GA4 DebugView to validate every event fires with the correct parameters.

Does your site have this issue?

Run a free SEOLZ scan to find gtm audit — and every other issue — across your whole site in minutes.

Scan my site free

Frequently asked questions

What is Gtm audit?

Google Tag Manager (GTM) is a free tool from Google that acts as a "container" on your website — it lets you install and manage tracking scripts (like Google Analytics 4, Meta Pixel, TikTok Pixel, and dozens more) without editing your store's code every time. Right now, no GTM container is detected on your site, which means you are almost certainly missing critical data about how shoppers find, browse, and buy from your store. GA4 ecommerce events are the specific signals (like "viewed a product," "added to cart," "completed a purchase") that GA4 needs to build reports you can actually act on.

Why does gtm audit matter?

Without GTM and GA4 ecommerce tracking, you are flying blind: you cannot see which marketing channels drive real revenue, which products are viewed but never bought, or where shoppers abandon your funnel. Google Ads Smart Bidding and Performance Max campaigns require conversion data from GA4 to optimise spend — without it, you are wasting ad budget. Retailers with proper ecommerce event tracking consistently find 15–30% of ad spend is going to non-converting channels that they only discover through data. Beyond advertising, GA4 audience data powers remarketing lists, personalisation, and Merchant Center signals that directly affect your Shopping and Search rankings.

How do I fix gtm audit?

Install Google Tag Manager on your store and configure it to fire GA4 with full ecommerce event tracking (view_item, add_to_cart, purchase, and more).

Related Site Lifecycle issues