Adslytics.
Check Your Tracking
Google Ads Conversion Tracking Services Server Side Tracking Google Analytics 4 (GA4) Setup & Audit Google Tag Manager (GTM) Setup & Audit Enhanced Ecommerce Tracking Setup Facebook Conversion API (CAPI) Setup GTM Data Layer Implementation Conversion Tracking Fix & Debugging Consent Mode v2 Implementation Marketing Pixel Setup BigQuery Setup & Analytics Looker Studio Dashboard Development Product Analytics Implementation Customer Data Platform (CDP) Implementation Behavior Analytics & CRO Marketing Analytics Consulting Google Ads Management Google Merchant Center PPC Management Search Engine Marketing View all services →
Case studies Guides Free tools Learning White label About
Check Your Tracking WhatsApp

Case Study

Fixing Duplicate Purchase Events in WooCommerce with GTM

Fixing Duplicate Purchase Events in WooCommerce

Fixing Duplicate Purchase Events in WooCommerce with GTM

📌 Introduction

A WooCommerce store noticed their GA4 revenue reports were nearly double their actual sales figures. Investigation revealed duplicate purchase events firing on every order confirmation.

❗ The Problem

The thank-you page was triggering the GA4 purchase event twice — once from a WooCommerce plugin and again from a custom GTM trigger — inflating reported revenue by an average of 95% and making ROI calculations for all paid channels completely unreliable.

🔍 Identifying the Causes

Three simultaneous tracking implementations were found: (1) WooCommerce Google Site Kit plugin, (2) A legacy gtag.js snippet hardcoded in the theme footer, and (3) A GTM tag firing on the order confirmation page. All three were firing the purchase event independently.

⚠️ Consequences for the Business

Marketing decisions were being made on inflated ROAS data. Google Ads smart bidding was optimizing toward phantom conversions. The client believed their email retargeting was generating $80K/month when actual revenue was closer to $42K.

✅ Solution

We removed the Google Site Kit plugin, deleted the hardcoded gtag snippet from the theme, and kept only the GTM implementation. Added a purchase deduplication check using transaction ID stored in dataLayer and a session storage flag to prevent re-fires on page refresh.

📈 Results

Duplicate events were eliminated entirely. Reported ROAS dropped from a misleading 8.2x to an accurate 4.1x. Google Ads smart bidding was reset and re-trained on clean data. Actual ROAS improved to 5.3x within 8 weeks as smart bidding optimized correctly.

🏁 Conclusion

Duplicate purchase events are one of the most damaging tracking issues in ecommerce. Regular audits using GA4 DebugView and GTM Preview mode are essential to catch them early.

💡 Key Takeaways

Never run multiple GA4 implementations simultaneously. Always implement transaction ID deduplication. Regularly audit your tag implementations with GTM Preview + GA4 DebugView.

Talk to Us, It's Free

We are always willing to help. Let us know what you are looking for, and we will develop a unique solution for you.

Thank You!

Your message has been sent successfully. We'll get back to you soon.

Protected by reCAPTCHA — Privacy & Terms

Business Hours

Our support Hotline is available 24 Hours

Toll Free

+1 (818) 245-8385