Allegro Krzysztof Kocel

How Allegro Preserves User Context During Android App Installation

Original post 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.

Continue reading

What This Article Covers

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.

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

This page summarizes “Preserving User Context During Android App Installation” by Allegro, published Nov 19, 2014. All credit for the original work goes to the authors.

Read the original on blog.allegro.tech (opens in new tab)

AI tools for Android

Browse all AI tools →