Is there any method to create a referral link to the App Store, with some device ID, for example b7a8913nfs9dfn, in the link, so that when a person downloads the app from the App Store and installs it on the device, after running it for the first time, the device would know the device ID in that referal link?
The whole system is to track people installing some app from their link, and after confirming it, give them a bonus automatically, without any manual promo-codes.
Maybe some Apple affiliate program, like LinkShare can help me? Does anybody have pruf-link information for it?
You can check out Adjust.io, it does exactly that.
If you want to roll it out yourself, for Android you can use any string in the parameter &referrer in the URL to the play store and retrieve it in the app when it first starts.
On iOS you'll have to rely on the IDFA.
EDITED: My initial answer:
The concept of alau.me makes most sense to me here.
It's also not hard to roll this out yourself. Have your own shortlink site where you log the IP address of the user you are going to redirect to the App Store. At the first start of your app you call a web service (or silently send a GET request to a fixed url on your site) where you will again log the IP address.
Combine the data if the time of the web service call is >= 5min (alau.me say they even set that value to 1h) and you know how many customers who used your shortlink actually downloaded and opened the app.
App Referals should be used in APP. So you send them a code and once they install the app they can then go into a app referaal redemption screen and input that code in and then it will let you know that they have installed it. You can also obtain information like reviews as well but not sure if that is helpful.
Apple has banned the practice of giving out in-app rewards for installing another app. You can still give a reward for a user clicking a link which redirects them to a page on the App Store - but you cannot condition your reward on the user actually installing the app, only on their choosing to view the page where, if they want, they can CHOOSE to install the app.
To do this, you just open a MobileSafari session to a web page which tracks the page load (for your analytics) and redirects to an App Store URL for the app you're promoting. The easiest way to do this is to use a URL shortener that provides analytics on users of the short link.