Inject javascript while user perform an action in app to install

New Member
3 0 0

I am developing an app extension to install the chat widget.
I am using the scriptTagAPI to inject the theme that was dynamically created.
I just submit my app to Shopify and they suggest using the theme-app extension.
I am looking for a way to pass the dynamic variables to the script while users select a chat widget from the list.

For eg:

_init('project_id', 'project_id')

If I put this inside the app extension. I am not able to pass the variable. Any help would be appreciated.

Replies 0 (0)