title: Combine Android browser intents with referral data
body: <p>I want to add a link to a webpage that, when clicked, either deep links to the correct page in an app or, if the user does not have the app installed, redirects to the Google Play Store. In this case, I want to send referrer data that can be collected in Google Analytics.</p>
  
  <p>I know both are possible, but I don't know how they are used together. I'm trying to combine Android browser intents as described <a href="https://developer.chrome.com/multidevice/android/intents" rel="nofollow">here</a> with Google Play Campaign Attribution described <a href="https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#google-play-campaigns" rel="nofollow">here</a>.</p>
  
  <p>Is this possible? How?</p>