Install Referrer is an Open Source application that allows you to test the referrer attribute on the Google Play Store.
You can test referrer attribute using these links below:
Play Store url
https://play.google.com/store/apps/details?id=fr.simon.marquis.installreferrer&referrer=myReferrerValue
Market url scheme
market://details?id=fr.simon.marquis.installreferrer&referrer=myReferrerValue
Chrome Intent
intent:#Intent;package=fr.simon.marquis.installreferrer;S.market_referrer=myReferrerValue;end
The referrer attribute will be broadcasted by the Play Store to your app after the first launch only.
Feel free to contribute to InstallReferrer.
Either you found a bug or have created a new and awesome feature, just create a pull request.
If you want to start to create a new feature or have any other questions regarding InstallReferrer, file an issue.
Copyright (C) 2014 Simon Marquis (http://www.simon-marquis.fr)
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.