atrefid is the URL parameter that carries a click ID across domains in cross-domain tracking. The Tracking Tag adds it to links that point at the destination domain. Its value is the 34-character Click ID of that link. A conversion recorded on the destination Property can then attribute back to the ad click that landed on the source Property.
How atrefid behaves
Section titled βHow atrefid behavesβ- The Tag adds it to the link in the browser, after the page loads. For links that appear later, it adds it when the page content changes. It does not wait for the click. The HTML that the server sends does not contain it, so verify it by inspecting the link in your browser developer tools or by clicking the link, not by viewing source.
- It is used when Sync Conversions is ON and at least one event name is selected. With Sync Conversions OFF, or with no event names selected, cross-domain links carry atclid instead. Both parameters carry the same 34-character Click ID.
- All cross-domain settings live on the source Property: the destination-domain list, the Sync Conversions toggle, and the synced event-names allowlist.
How atrefid returns the conversion to the source Property
Section titled βHow atrefid returns the conversion to the source PropertyβWith Sync Conversions ON, atrefid is a round trip, not a one-way handoff:
- The visitor clicks the cross-domain link. The source Property tracks the
OutboundClickevent. atrefidand its value pass to the destination domain in the page URL.- The destination page carries the Tracking Tag. The Tag sends events with the page URL, so the
atrefidvalue reaches AnyTrack. - AnyTrack reads the Property ID in the
atrefidvalue and finds the source Property. AnyTrack ignores traffic of the same Property. If the destination belongs to another AnyTrack account, the destination host must be in the destination-domain list of the source Property. - If the event name is in the synced event-names allowlist of the source Property, AnyTrack copies the conversion to the source Property.
- The source Property attributes the conversion to the original session and its UTM parameters, and sends it to the connected ad platforms through their Conversion API.
This return leg is why cross-domain attribution credits the campaign that produced the first click, even though the conversion happened on the other domain. AnyTrack does not copy a conversion whose event name is outside the allowlist.
What atrefid is not
Section titled βWhat atrefid is notβIf you see _atid on URLs, it is unrelated to atrefid. The Tracking Tag writes _atid into the current page URL for click-ID collection on the same site, and it has nothing to do with cross-domain tracking.
Frequently asked questions
FAQ was last reviewed on 2026-11-08