ngl tracking user journeys across subdomains is a nightmare without a unified identifier. instead of relying on default session cookies that reset, you can inject a custom dimension into your data layer using this snippet. it pulls the original referrer and attaches it to everyy subsequent event ⚡
window.dataLayer.push({'event': 'attribution_sync', 'original_source': document.referrer});this ensures your
conversion metrics stay linked to the
actual entry point rather than a mid-funnel click.
it also prevents accidental session fragmentation during redirects. stop
guessing measuring the real path to roi with much higher precision.