Attribution parameters on Firebase App Invites (Android)

609 views
Skip to first unread message

Niraj Sanghvi

unread,
Jun 2, 2016, 5:39:24 PM6/2/16
to Firebase Google Group
Is there any way to include attribution data on Firebase App Invites for Android? For instance, I'd like to include utm_source, utm_campaign, and utm_source parameters that I can receive from Play Store installs to use with my existing analytics to see how app invite installs compare to our other acquisition methods. I didn't see any option for adding such parameters in the docs, but I'd find it tremendously useful. Thanks!

Jim Cunningham

unread,
Jun 6, 2016, 6:22:41 PM6/6/16
to Firebase Google Group
You can add the utm parameters to the deeplink which will be available after a user selects the invitation and opens the app after an install, upgrade or open if already installed. Your app should call getInvitation() to access the deep link which you can parse to get the attached utm parameters and call analytics with the parameters. You can also use Google Play Campaign Attribution to track app installs. On android, add the parameters (utm_source, utm_campaign, etc), using .setAdditionalReferralParameters() when you are creating the invitation using the builder. Those parameters will then be appended to the play store referrer= parameter that is passed to the Play Store when the user selects the invitation and proceeds to install the app. The utm parameters are then processed normally if you've implemented Google Play Campaign Measurement callback to the BroadcastReceiver.  
Reply all
Reply to author
Forward
0 new messages