I broke down the differences and explained some of the nuances here: https://community.shopify.com/c/Shopify-APIs-SDKs/How-to-track-the-referral-of-the-order/td-p/587171
If this doesn't clarify, are you able to provide an example store + order ID (where you can see the ref in the admin but not the API).
Hi @SBD_ ,
I've tried out what you sent to us, and the results are following:
• when I go to add to cart and then proceed to click on the cart and finalize the sale, then the ref gets propagated to the API
• when I go to buy it now (which takes me directly to the cart), then it doesn't get propagated
Is this a bug or expected behavior? If it's expected, is there a better way to track the referral? Thank you for your help!
No updates yet.
we tried using referring_site and it looks like it has the exact same issue
I placed a buy it now order and the ref was in the referring_site, for example, starting with: site.com/product/some-product?ref=abc, should set the referring_site to site.com/product/some-product?ref=abc (assuming it's the first visit/referral).
Can you try in an incognito window. If you hit the same issue please provide the store url + order id (reply or DM).
Just heard back. This is the intended behaviour.
All the attribution data collection on checkout is only supported for the Online Store sales channel. We haven't started deprecating and removing those attributes.
I am integrating Shopify with our affiliate platform and I need to track the orders/checkouts referrals using webhooks. I read the docs but I have not found anything or anyway to do it, please tell me what I have to do to get the orders/checkouts referrals using webhooks.