Full Answer
Two failure modes cause most caching-related tracking loss. The first is page cache serving yesterday's thank-you page HTML to today's customer — the order ID, revenue, and product data embedded in tracking scripts is wrong or absent. Facebook Pixel and GA4 purchase events fire with corrupted data you can't recover.
The second is JavaScript minification. Caching plugins that combine and minify JS can break tracking script variable declarations entirely — the script loads but executes nothing.
WooCommerce's official documentation is explicit: cart, checkout, and My Account pages must never be HTML-cached. LiteSpeed Cache, WP Rocket, and W3 Total Cache all require manual exclusion rules unless they auto-detect WooCommerce. Server-side tracking bypasses this entirely — events fire from confirmed order data on the server, independent of browser cache state.
