Install Referrer is an Open Source application that allows you to test the referrer attribute on the Google Play Store