We want to create a referral link for our customers to share our app with other customers, when our app is downloaded we provide a discount for example for referee.
Main question is: how to generate an installation link so when the user installes it query params are passed into my app
Why not instead generate discount codes that tie back to approved affiliate merchants so you can track that way?
I just think it will be tricky to try and pass query params since OAuth is now managed, and you cannot create subscription URLs unless the merchant already has your app installed.
Hey @Vlad_Kozulin , I agree with @Dylan’s idea here, that may be a bit easier than passing params within OAuth itself. Another possible way to build this functionality would be with the Partner API. You could set up a regular polling function to query the events tied to a particular app: app - Partner API, and look for a specific event type like RELATIONSHIP_INSTALLED to confirm if an app has been installed on a shop.
Then, you could generate a credit for the merchant to use as a discount on a subscription or purchase on your app: appCreditCreate - Partner API
Just wanted to share that as possible method too - hope this helps!
Just curious, and since we’re on the topic of query params & the managed OAuth flow - do you know if we can pass query params to the home URL of an app?
Beyond attributing affiliates, we’d also need query params to attribute ad campaigns.