Organic vs. Paid Attribution
DeferredCorrectly-configured code, confirmed via the live export — and still doesn’t reach the network request. Root cause not found.
Overview
A JS - Traffic Source Type variable (checks the URL for gclid/fbclid/li_fat_id, returns ‘paid’ or ‘organic’) was added as an event parameter to Generate Lead, Call Click, and WhatsApp Click’s GA4 tags.
What Was Attempted
Despite correct-looking configuration — verified variable code, verified tag wiring, verified GTM published with zero pending changes — the traffic_source parameter never appeared in the actual outgoing network request payload when checked directly in DevTools.
Confirmed still wired into the live container as of the most recent export: all three GA4 event tags (Generate Lead, Call Click, WhatsApp Click) still carry a traffic_source parameter referencing {{JS - Traffic Source Type}} — this is unresolved, not abandoned or removed.
Root cause not found. Two areas worth investigating next: Custom JavaScript variable scope/timing issues (is the variable evaluating before the URL it reads is fully available in this execution context), or whether this needs to be built as an Event Setting Variable rather than a per-tag parameter reference.