Hi there, I’m building an app and utilizing web pixels for merchant analytics and I’m wondering what’s the best way of doing this using the Remix template.
Right now I register events from the theme block extension using Shopify.analytics.publish
, send the processed data to my API endpoint from the pixel extension, and save the event in my database for processing in the app itself.
My issue is that I can’t use the app proxy in the pixel, so I have to handle additional validation on my end.