For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
We've been using the `ScripTag` resource in the past to insert conversion tracking code on the Thank you page. Our pricing model is based on conversions, so it's essential for us to track this for all orders.
Now that `ScriptTag` is retiring, we're looking for alternatives. We've identified the `Web Pixel API` and Checkout UI extensions as potential candidates for replacement.
Web Pixels look like a great match for what we want to achieve. The one concern we have though is that we need to ensure that the pixel is called for all orders, not just the ones that opted in to marketing.
The alternative is a Checkout UI extension that would actually render an empty UI. Downside here is that it needs to be inserted manually by the shop.
Are there any other alternatives for our use case?
Solved! Go to the solution
This is an accepted solution.
Hi Bhr,
It's currently not possible to call the pixel for all orders but we are looking to expand the flexibility of web pixels in the coming months. Keep an eye out on our developer changelog to learn when support for a use case like this will be available.
Hope this helps,
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hi Bhr,
It's currently not possible to call the pixel for all orders but we are looking to expand the flexibility of web pixels in the coming months. Keep an eye out on our developer changelog to learn when support for a use case like this will be available.
Hope this helps,
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog