Happening now | Office Hours: Customizing Your Theme With Moeed | Ask your questions now!
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Migrating from ScriptTag API to App embed block without adding friction

Migrating from ScriptTag API to App embed block without adding friction

Boris-WisePops
Tourist
4 0 3

Hi there,

We're urgently trying to update our existing app to stop using the ScriptTag APIAs we would be delisted from the Shopify in 30 days otherwise.

We basically need to load a script on all pages. The best alternative we found is the app embed block.

 

But we're afraid of the additional friction caused by the need to enable the block after the app installation. It doesn't make sense to install our app without loading this JS script. Enabling the app embed block is mandatory for our app to work properly.

 

With script tags, the current process is:

  • The merchant clicks the button to install our app.
  • The merchant confirms on their store that they want to install our app.
  • They're redirected to our platform with an installation success message.

 

With app embed block, the process would be:

  • The merchant clicks the button to install our app.
  • The merchant confirms on their store that they want to install our app.
  • They're redirected to our platform with a modal explaining that an additional step is required. This modal contains a button to open the deep link in a new window. And some instructions or an animated GIF to explain what they must do on the store after following the deep link.
  • They click the deep link and land on their theme editor in a new window.
  • The merchant must then click "Save" in the theme editor in order to activate our app embed block for real.
  • They should then close the new window to come back to our platform. We have no way to confirm that they successfully enabled the app embed block.

 

Is there any solution that would add less friction? We're going to lose a lot of customers in this process.

Many thanks for your advice!

Reply 1 (1)

anilkumar8412
Shopify Partner
4 0 2

i also have the same question please reply if you are able to get solution