Run an attribution query
Attribute conversions across marketing touchpoints. Supports first-click, last-click, and any-click models with a fixed-set lookback window.
Required scope: analytics:read.
Authorizations
Your Upstack API key. Starts with upstack_.
The pixel id the request targets.
Body
Must match the x-pixel-id header.
Dimension to attribute by (e.g. utm_source).
first_click, last_click, any_click Attribution window in days. -1 means unlimited.
1, 7, 14, 30, 60, 90, -1 Canonical filter applied to the attribution result set.
attribution.utm_* fields and orders.* fields are valid
in this context — discover the full set via
GET /api/filters.
- Option 1
- Option 2
- Option 3
Source of truth for conversion data.
orders, events Required when valueSource = events. Defaults to purchase
when valueSource = orders.
Order-level query settings — exclusion filters, pending/voided handling.
Response
Attribution results.