Platforms/WordPress

WordPress and WooCommerce tracking.

Plugin conflicts, caching and page builders break tracking in their own ways. Find them with the free audit, then fix them.

Common WordPress tracking problems

The flexibility of WordPress is where most of these come from.

Caching breaks tracking

Problem. A page cache serves a stale page with stale data layer values, so events go missing or double.

Fix. Exclude the GTM snippet from fragment caching, push dynamic values at runtime, or send the event server side.

Plugin conflicts

Problem. Two analytics plugins, or a theme with built-in tracking, fire the same tag twice.

Fix. Audit every plugin for tracking code and route all tags through one GTM container.

WooCommerce events not firing

Problem. Product views, add-to-cart and purchase never reach GA4 because the data layer is wrong or absent.

Fix. Install a WooCommerce data layer (GTM4WP or a custom one) that pushes the GA4 ecommerce schema.

Page builder quirks

Problem. Elementor, Divi and other builders handle forms and clicks their own way, so standard triggers miss them.

Fix. Use the builder's own events or a custom listener, and confirm in GTM Preview.

AJAX cart not tracked

Problem. An AJAX add-to-cart never reloads the page, so nothing fires.

Fix. Push a data layer event on the AJAX success callback.

Admin traffic in reports

Problem. Your own logged-in visits pollute the numbers.

Fix. Filter logged-in users in GTM, or define internal traffic in GA4.

What TagFrog will do on WordPress

TagFrog for WordPress and WooCommerce launches late 2026 at the same price as Shopify: free on GA4, $75/mo per store for every ad platform. Until then the $149 GTM container covers the same tags.

  • A WooCommerce data layer that pushes the GA4 ecommerce schema from the order stream, not the page.
  • GA4 in the browser and server side, with consent honoured before any tag fires.
  • Pro: Conversions API for Meta, TikTok, Pinterest, Google Ads, Microsoft Ads and Snapchat, deduplicated against the browser events.
  • A real test order, placed and refunded automatically, to prove every step fired.
  • Watch (included with Pro when it launches): every check re-run weekly, an email when a tag disappears or a score drops.

GTM plugins, compared

GTM4WP

The most used GTM plugin. A full WooCommerce data layer and basic event tracking.

Recommended for most sites

Site Kit by Google

Google's plugin for Analytics, Search Console and AdSense. Limited GTM support.

Fine for basic GA4 only

PixelYourSite

Pixel management for Meta, Google Ads and others, with WooCommerce support.

An alternative to GTM

Manual snippet

The GTM snippet in a child theme. Most flexible, and yours to maintain.

For custom builds

Find what's broken. Fix it. Keep it fixed.

1. Find it

Run the free tracking audit

One URL in. Every tag and pixel on the live page, what fires on consent, and what never reaches the ad platforms. No login, under a minute.

Run the audit
2. Fix it

Install TagFrog (free)

TagFrog for WordPress and WooCommerce launches late 2026. Join the waitlist; the Shopify app is live today.

Join the waitlist
3. Keep it fixed

TagFrog Pro, $75/mo per store

Conversions API for Meta, TikTok, Pinterest, Google Ads, Microsoft and Snapchat, product feeds, and Watch included when it launches: weekly re-checks with an alert when anything drifts.

Go Pro, $75/mo

Agency or freelancer with client sites? The same checks for every business in a territory, with leads, are at opsblu.com.