Cherry Seed

Why does server-side UTM tracking matter?

server-side utm tracking prevent utm loss utm capture before redirects wordpress server-side tracking utm parameter protection

Quick Answer

Server-side UTM tracking captures attribution data on your server before it can be blocked by browsers, ad blockers, or privacy restrictions. Client-side tracking relies on JavaScript and cookies that Safari ITP limits to 7 days, ad blockers strip entirely, and iOS privacy features degrade. Server-side tracking bypasses all of this -- your server captures the UTM parameters on arrival and sends conversion data directly to platforms via secure APIs (Meta CAPI, Google Enhanced Conversions, TikTok Events API). Results: up to 46% more conversions tracked and up to 57% lower CPA. You also gain data enrichment -- appending CRM identifiers and campaign metadata before sending to platforms.

Full Answer

Server-side UTM tracking captures attribution data at the HTTP request level before any page rendering, JavaScript execution, or redirects occur. This makes UTM parameter loss technically impossible, solving the primary cause of broken marketing attribution. The Client-Side Problem GTM Client-Side Execution Order 1. User clicks yoursite.com?utm_source=facebook 2. Server processes redirect rules 3. Redirect strips query parameters 4. Browser loads new URL (without UTMs) 5. Page HTML loads 6. GTM container JavaScript loads 7. GTM tries to read UTM parameters 8. Parameters already gone—attribution lost Client-side tracking arrives too late. The redirect already executed. When Client-Side Fails HTTPS redirects: Mobile redirects: URL shorteners: The Server-Side Solution WordPress Server-Side Execution Order 1. User clicks yoursite.com?utm_source=facebook 2. HTTP request arrives at server with full URL including query string 3. Server-side PHP code executes immediately (before redirects) 4. UTM parameters extracted from $_SERVER['QUERY_STRING'] 5. Attribution data stored in session/database 6. Now redirects can safely...

Sources

Programmatic Access

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

Cite This Answer

Cherry Tree by Seresa - https://seresa.io/seed/utm-attribution/server-side-utm