Programmatically add customer event

Programmatically add customer event

hapsize
Shopify Partner
1 0 0

I can manually add customer event code to handle events like "checkout_completed" and programmatically add scripts but I cannot figure out how to programmatically add customer event pixel when my app is installed.

 

Is there a way I can add code and subscribe to analytics upon installing my app so clients don't have to manually add custom customer event pixel code?

Replies 0 (0)