Development discussions around Shopify APIs
I can never get a "good" value from the Shopify webhooks in the JSON
for "referring_site".
We are capturing all of the following hooks: checkouts/create,
orders/create, orders/updated, orders/delete, orders/fulfilled,
orders/paid, orders/cancelled, and order_transactions/create.
The values we get back are always one of these:
1) referring_site is the shop order URL, for example:
For example:
https://beta-test-store-1.myshopify.com/admin/orders/4763378691
2) referring_site is the Shopify customer login URL:
For example:
https://www.shopify.com/login
3) referring_site is the checkout URL:
For example:
https://checkout.shopify.com/17854443/checkouts/c7314ba7797f89ef35a2a9ef24873956/thank_you
4) referring_site is an empty string
Of course none of these is what we need for our app. We need to know
the external URL that brought the customer to the product page.
I have set up a simple redirection service, you can see it simply
redirects to our test product page:
http://infl.se/s/v4UwsQ
But this URL is never recorded in the referring_site JSON we received after making a
purchase from any webhooks.
Please help with any insights you have, it's really critical for our
integration.
I'm upvoting this because I'm also curious how it works.
Is it based on the referer http header? What if the user shuts down the browser and comes back to it later?
Hi Alex,
I appreciate this is from 2017 - but did you manage to work this out? having the same issue
bump
@poppyr wrote:Hi Alex,
I appreciate this is from 2017 - but did you manage to work this out? having the same issue
User | RANK |
---|---|
8 | |
7 | |
3 | |
3 | |
3 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By