Cherry Seed

What is server-side tracking and how does it work with WooCommerce?

what is server-side tracking server-side tracking woocommerce woocommerce hooks tracking how server-side tracking works conversion tracking without browser scripts

Quick Answer

Server-side tracking sends conversion events from your web server directly to ad platform APIs, bypassing the browser entirely. For WooCommerce, this means capturing purchase events from order completion hooks on the server before page renders, before redirects, and before ad blockers can interfere, then routing them to GA4, Facebook CAPI, Google Ads, and other platforms simultaneously.

Full Answer

Traditional tracking relies on JavaScript pixels loading in the visitor's browser. Ad blockers, Safari ITP, and iOS privacy settings intercept these scripts before they fire. Server-side tracking moves event collection to a server you control: when a WooCommerce order completes, the order hook fires on the server with complete purchase data including order ID, revenue, and customer email, and your server sends this to platform APIs directly. For WooCommerce specifically, the WordPress server already processes every order server-side via hooks like woocommerce_payment_complete. Server-side tracking plugs directly into these hooks, capturing events from infrastructure that already exists. No GTM is required. No browser JavaScript is involved at the conversion event layer. The result: purchases are recorded even when the visitor's browser blocks every tracking script, because the conversion data never touches the browser.

Sources

Programmatic Access

GET https://seresa.io/wp-json/cherry-tree-by-seresa/v1/seeds/855

Cite This Answer

Cherry Tree by Seresa - https://seresa.io/seed/server-side-tracking-basics/what-is-server-side-tracking-woocommerce