We have a mobile app that\'s available in both Google Play Store and Apple AppStore, we want to implement a referral program to get more users to install and use our App.
If anyone is still looking for solution to this question. I read a lot of blogs and documents for the same problem, and arrived at following conclusion:-
IP Address + User Agent + Device Model is not enough to identify a device uniquely. So, I think it will be better to use dynamic links. You can create dynamic links containing a unique id. And that data will survive url redirection to app store and even after installation your app can get the unique id from dynamic link.Google's firebase can be used for creating dynamic links :-
https://firebase.google.com/docs/dynamic-links/
Or if you want to use a ready to use solution then you can refer branch.io