Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
We have a web app that shows products from Shopify. When users checkout, we redirect them to Shopify. We need to track user actions during the checkout process.
The current solution is that the web app subscribes to Shopify webhooks then sends the corresponding event to Segment when it receives a webhook notification. However, there are events that are not supported by webhook, like:
- Coupon applied
- Coupon Denied
- Payment info enter
I think we can add the tracking script to the Shopify theme to track these events but it is not a very good solution.
Do you have any suggestions?