Capturing a conversion
identify() before (or alongside) the conversion so the lead carries the visitor’s traits. The session captures the raw URL (including any query string with utm_* params) under session.location.search — UTM normalization, if any, happens on the server side.
track vs conversion
Attribution
Conversions are tied to the samevisitor_id as the visitor’s earlier events, across sessions. That’s what lets journeys measure who converted after entering a funnel — even days later.
Conversions are idempotent within a short time window, so a double-fired submit won’t create two leads.
Next steps
Leads API
Read and manage the leads your conversions create.