added
Referral Data Available for Purchases
29 days ago by Jinting Wang
The purchase.completed
webhook and Purchase API have been updated to include a new object field referral
. referral.source
, referral.method
and referral.host
are new properties available on this object.
This allows developers using storefront to attribute successful purchases to the sources that referred them via combination of UTM parameters, click IDs, and the HTTP referer
header.
Please refer to the documentation for more information:
- Purchase Referral Attribution
purchase.completed
documentation- New
referrer
object on Purchase API response