WordPress & WooCommerce Tracking
Plugin conflicts, caching issues, and page builder quirks. We've seen them all.
Common WordPress Tracking Problems
WordPress flexibility creates unique tracking challenges.
Caching Breaks Tracking
Problem: Page caching plugins serve cached pages without fresh tracking data, causing missing or duplicate events.
Solution: Configure cache exclusions for GTM, use fragment caching, or implement server-side tracking.
Plugin Conflicts
Problem: Multiple analytics plugins or themes with built-in tracking create duplicate tags and conflicting data.
Solution: Audit all plugins for tracking code, consolidate to GTM, and remove redundant integrations.
WooCommerce Events Not Firing
Problem: Product views, add-to-cart, and purchase events aren't tracked due to incorrect data layer setup.
Solution: Implement proper WooCommerce data layer with GTM4WP or custom integration.
Page Builder Tracking Issues
Problem: Elementor, Divi, and other page builders handle forms and clicks differently, breaking standard tracking.
Solution: Use custom event listeners or builder-specific tracking configurations.
AJAX Cart Problems
Problem: Add-to-cart events don't fire when using AJAX carts because no page reload triggers GTM.
Solution: Push data layer events on AJAX success callbacks or use mutation observers.
Admin Traffic in Reports
Problem: Your own visits while logged in pollute analytics data.
Solution: Filter admin traffic using GTM triggers or GA4 internal traffic filters.
GTM Plugin Comparison
Choosing the right plugin matters. Here's what we recommend.
GTM4WP
The most popular GTM plugin. Provides a complete WooCommerce data layer and basic event tracking.
Recommended for most sitesSite Kit by Google
Official Google plugin for Analytics, Search Console, and AdSense. Limited GTM support.
Good for basic GA4 onlyPixel Your Site
Comprehensive pixel management for Meta, Google Ads, and more. Built-in WooCommerce support.
Good alternative to GTMManual Code
Directly adding GTM snippet to theme or child theme. Most flexible but requires maintenance.
Best for custom implementationsWordPress Tracking Services
WordPress + GTM Setup
- GTM container installation (plugin or code)
- Proper placement (header vs footer)
- Preview mode configuration
- Cache plugin compatibility
WordPress + GA4 Integration
- GA4 measurement configuration
- Enhanced measurement setup
- Site search tracking
- File download tracking
WooCommerce Ecommerce
- Complete ecommerce data layer
- Product impression tracking
- Cart and checkout events
- Purchase conversion tracking
Ad Platform Integration
- Meta Pixel + CAPI setup
- Google Ads conversion tracking
- Enhanced conversions implementation
- Form submission tracking
WooCommerce Tracking Deep Dive
WooCommerce requires specific data layer events to track the full customer journey:
view_item_list Category/shop pages Product array with IDs, names, prices view_item Product detail page Single product details add_to_cart Add to cart button click Product + quantity begin_checkout Checkout page load Cart contents + value purchase Thank you page Order ID, revenue, items Missing any of these events means gaps in your funnel analysis and broken ad optimization.
WordPress Tracking Resources
WordPress GTM Setup
Complete guide to installing and configuring GTM on WordPress.
TutorialGA4 Ecommerce Tracking
Implementing the full GA4 ecommerce event schema.
TroubleshootingData Layer Issues
Fix common data layer problems on WordPress sites.
FAQGTM FAQ
Common questions about Google Tag Manager setup.
Get Your WordPress Site Scanned
We'll identify tracking issues, plugin conflicts, and missing events—then show you how to fix them.
Free GTM Scan