" in the Deco Standard-layout Head Snippet.
Do not edit the minified sc-attribution IIFE (that is what broke Nov 2â9).
This script only:
- stores one UUID + timestamp in localStorage as sc_lead_eid
(JSON: {"id":"","t":}) until the thank-you snippet rotates it
- appends sc_eid= to GHL form/survey/quiz iframe src or data-src
when that param is missing, leaving every other query param untouched
It does not change click-ID decoration, does not write v3_first_session_event_*,
and does not listen for fetch-query-params.
Iframe param name must stay exactly sc_eid (GHL hidden field on form
OahKMBQIQwtAssDZXtwO). Other hidden fields keep reading gclid, gbraid,
wbraid, fbclid, utm_source, utm_medium, utm_campaign from the iframe URL.
Undo: delete this entire comment + script block. Nothing else to revert. -->