Activating web pixel extension without UI

Panos_Georgiou
Shopify Partner
3 0 3

Greetings,

 

I created a Web Pixel Extension using the Shopify CLI. The app has no UI, and does certain things on specific events. While developing the application, I had no issue running the create mutation from the Graphiql from my browser to activate the app (the one that opens from the CLI by pressing g). 

When I tried to do so from my demo store's Graphigl app (the same store that I installed the application on), I did not behave the same, and it failed with the following error int the response "message": "No extension found.".

I don't want to have a UI element, like a button to run the activation query. Is there a way to run the activation either automatically directly after the installation, or via the GraphiQL app in the store's admin?

 

Thank you in advance.

Replies 2 (2)

AlexanderHerzog
Shopify Partner
2 0 0

Did you find a solution for this?

I don't want an UI as well and certainly don't want to create one just to activate a function.

Panos_Georgiou
Shopify Partner
3 0 3

I haven't found a solution to bypass the admin UI presence. If this is the best scenario, then Shopify developers should take notice.