Skip to content

AttributionInput

Client-captured marketing attribution forwarded through a booking / checkout / sign-up mutation (issue #2060). firstTouch is the visitor's first-ever touch (persisted in browser storage and stamped, immutably, onto a newly created participant); lastTouch is the touch that converted (stamped onto the registration / purchase). Either may be omitted; when only one is present the server uses it for both.

Fields

merchantAdConsentMerchantAdConsent

An embed's answer from the business's own consent tool (<sessions-context ad-consent>), recorded on the order as its ad consent. Only counts on a request from the business's own site; a hosted page sends its visitor's answer as visitorAdConsent instead.

visitorAdConsentVisitorAdConsentInput

A hosted page visitor's own answer to the business's ad-consent banner, kept in their browser and sent with the checkout. Only counts on a request from a Sessions page, for the same business, and within the rule the server works out from the visitor's location.

Used in