Headless commerce and custom storefronts with Shopify APIs and SDKs
Hi folks,
We're currently using the Storefront API to generate a Checkout object, obtaining its webUrl, and redirecting users to the web checkout flow. To measure conversion, we want to be able to track how many users actually finished the checkout.
I'm wondering what's the best way to do this... a few ways that come to mind:
1. We store Checkout ids on the frontend, and when the user visits our app again, we ping the Storefront API to check the latest status of each Checkout object.
2. We store Checkout ids on the backend, and use a cron job to periodically use the Storefront API (or Admin API?) to get check the latest status of the Checkout object.
3. Build our own checkout flow with the Storefront API (seems like an overkill)
4. Maybe there is some sort of webhook that can let us know?
Thanks,
Eddie
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023