I just got my app published with Shopify and looking to do incremental improvements.
As the app owner, If a merchant downloads my app from the store and has trouble installing it I would like to know it asap. Is there a event or web hook that can be leveraged ? Looking at online blogs / documentation I found notifications on "uninstall" but NOT when a merchant is having trouble during "Install". I would appreciate any thoughts / insights ?
Hello itsarvind. Have you figured out anything regarding notifications when your app is downloaded? I just got my app approved and I would like to do onboarding with merchants when they download the app.
I was looking for a solution to the same problem, and it seems we can use Partner API to track app installs and send notifications to the Slack channel, for example.
I will try to put together a solution and write a little later about what happened.
Perhaps I'll post a script that will help to track this 🙂
RelationshipInstalled — An event that marks that an app was installed
Btw, I found an example.
If a merchant has an error during install, you should be catching that in your own server routing / handling.
The entry point for an install is, fundamentally, the URL you provide to your app -- the example setup has this checking whether you have an authorization cached for said shop; if not, redirect to a /login route; if so, redirect to your app.
You can (and probably should!) try/catch the entire process and have explicit error handling so you know immediately when something goes wrong, for whom, and ideally, what the issue was; it's not on Shopify to notify you of such, nor do I believe there is an endpoint to do so.