Android – How to implement referral program for app users in Android market

androidgoogle-play

I want provide bonuses to users how have shared link to my android application. How could I implement referral program for app users in Android market?

Currently I don't understand how to determine source who provided reference of android market link to the user.

Any ideas?

Best Answer

See the Android Market Campaign Tracking documentation: http://code.google.com/apis/analytics/docs/mobile/android.html#android-market-tracking

It's pretty easy to generate a unique "campaign content" per user, and substitute that into the market url. That would get provided to your broadcast receiver and processed by you as you wish.