I have added a deep link handler to my app, and tested opening one of my apps from the other and it all works as expected.
What I’m not sure about is how I could pass a url to Google Play which leads to one of our apps, and would then be passed from GP to the app once the install is complete. Something like this:
market://details?id=com.mycompany.mygreatgame?bonus=100
Which would allow me to give the user some bonus in game items if installed from a particular source.
I’m fairly sure I’ve seen something that says this can be done, but all I can find at the moment is this:
https://developers.google.com/analytics/devguides/collection/android/v4/campaigns
That seems to say that I should hijack the referrer intent and put my data into one of the existing parameters. Is that the only way to do it?
Edit: If anyone knows a way to do the same on iOS btw, that would be a huge added bonus.