Allegro Nov 1, 2014

Preserving User Context During Android App Installation

Article Summary

Ever lose a user the moment they install your app? That frustrating context loss between web and app has a surprisingly simple fix.

This article tackles a common mobile UX problem: users browse your mobile website, click to install your app, and completely lose track of what they were viewing. The solution uses Google Play's built-in referrer system to preserve context across the installation journey.

Key Takeaways

Critical Insight

You can preserve user context during Android app installation by passing campaign parameters through Play Store links and capturing them with a custom BroadcastReceiver.

The article includes production-ready code for parsing referrer data and handling edge cases you might not expect.

About This Article

Problem

When users install Android apps from mobile websites, they lose track of what they were doing before. For example, someone might be looking at a real estate listing, click an install banner, and then forget which property they were viewing.

Solution

Krzysztof Kocel's team at Allegro used Google Play Campaign Parameters, specifically utm_term, to embed property IDs into Play Store links. They then built a custom BroadcastReceiver to capture this referrer data and deep link users back to the exact content they were viewing.

Impact

This approach uses Google Play's built-in referrer broadcast system without needing any third-party tools. Users stay connected to their original content from the moment they install the app through launch, which makes the experience feel seamless.

Recent from Allegro

Related Articles