Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi there! Our developed app leverages a couple of Shopify's APIs (Script, Orders, Cart, Assets) to add affiliate tracking data to orders on the merchant's e-commerce store. We are trying to integrate with the Web Pixel Extension API instead, but we are limited with the types of requests we can make within the context of the web pixel extension: InsecureUrlError: Requests are not allowed to the same origin
We tried a couple of workarounds, but without access to the Cart API (writing & updating a custom cart attribute value), our app would lose one of its main functionalities and we wouldn't be able to integrate with the web pixel extension.
I wanted to see if the community or experts here had any workaround suggestions. Thanks in advance!
Any solution?