App submission got rejected

I’m using Shopify ScriptTag API to inject a remote asset (tracker.js) everything was working fine, but the app submission got rejected

Do I have to migrate everything to the new shopify web pixel apis now?

I’m afraid, this will break lot of functionality of our tracker script. What are the options?

So everything happens in the oAuth flow

Install App → Script tag injected → Webhooks setup

But this gets rejected

Here is the email I got:

Need your assistance. Thanks in Advance

Hi @mcnaveen

Yes, that rejection email confirms you must migrate your tracker from the ScriptTag API to the modern Web Pixels API. Shopify now requires this for all public tracking apps for security reasons.

Your fear is valid; this change will break your current tracker. The Web Pixels API runs in a secure sandbox and cannot access the page’s HTML or document.

The only solution is to rewrite your tracker. Instead of scraping the page, your script must now “subscribe” to the standard e-commerce events (like product_viewed or add_to_cart) that the Web Pixels API provides. This is the only compliant path forward.

Hope this helps!

Hi @PieLab

Thanks for your reply.

You mean, literally there is no way I can use my remote asset (tracker.js) and 100% depend only on the shopify web pixel api, just for this compliant path? or there is any workaround?

This seems to be like a middleman passing things to my api endpoint, skipping my main tracker entirely.