Does iTunes pass referral parameters on iPhone once app is installed?

kumar picture kumar · Feb 13, 2012 · Viewed 12.9k times · Source

Is there any provision in iOS wherein the referral parameters used to start the iTunes application are passed on to the application on its first run?

For example in Android, if I use a link such as http://market.an......com.company.pany&referrer=heythere to download an app on Android and actually install the app, the Market app passes the "referrer" parameter and its value to the app on its first run, which the app can use to any extent.

Is there a similar provision in iOS?

Answer

Mada Seghete picture Mada Seghete · Nov 21, 2014

We also struggled with this when we built our last mobile app, Kindred Photobooks. The best way we found is to basically bundle that information in the link and use fingerprinting to make that data available after install, which is working really well.

You can try to build fingerprinting in in house. Basically the steps would be the following: 1. When a link gets created, appending parameters to the link, or create a link reference in some backend database if you want shortened links 2. When a user clicks on that link, collect a fingerprint of their device from everything you can read in the browser (for example: IP, OS, screen size, etc) and redirect that user to the app store. 3. When the app opens, create a similar fingerprint from the same parameters collected in app, and match it up in your database to the outstanding fingerprint. 4. If there is a match, you can return those link parameters to the app through install.

Alternatively, if you don't want to build all that infrastructure and handle the many edge cases, we bundled it up into a free service called Branch. Check it out at http://branch.io