---
title: "Discussion on \"Tracking Android App Launch in production\" | Hashnode"
description: "Discussion on \"Tracking Android App Launch in production\". 👋 In this article, I summarize my findings on Android app launch after a few years of deep dives, with the hope that these guidelines help implementations track app launches correctly.\n\nUser-Centric App Launch analytics\nIn User-Centric Mobile Perfor..."
url: "https://hashnode.com/posts/tracking-android-app-launch-in-production/64af4c0009b8aa2957c3b3ae"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Tracking Android App Launch in production](https://blog.p-y.wtf/tracking-android-app-launch-in-production?utm_source=hashnode&utm_medium=feed)

👋 In this article, I summarize my findings on Android app launch after a few years of deep dives, with the hope that these guidelines help implementations track app launches correctly. User-Centric App Launch analytics In User-Centric Mobile Perfor...

Jul 13, 2023 · 8 min read · blog.p-y.wtf  
Read the article

-   [#android](https://hashnode.com/tag/android)
-   [#analytics](https://hashnode.com/tag/analytics)
-   [#performance](https://hashnode.com/tag/performance)

## Written by

[Pierre-Yves Ricau](https://hashnode.com/@py)

@py · San Francisco

  
[View profile](https://hashnode.com/@py)

Deep dives

My pronouns are he / him. Android Engineer at Square / Block. A few things I enjoy: Publishing Open Source libraries (LeakCanary, Curtains, Radiography, square/logcat) Rollerblading Writing technical blogs (previously on dev.to/pyricau) Cooking Giving tech talks Reading sci-fi

## Responses 2

Markdown supported · ⌘↵ to post

[Nisarg Desai](https://hashnode.com/@ndesai)

[Oct 8, 2024](https://hashnode.com/posts/tracking-android-app-launch-in-production/64af4c0009b8aa2957c3b3ae/comment/67055650338c28ad51d5d744)

[Pierre-Yves Ricau](https://hashnode.com/@py)your wish is granted now, we have new API **ApplicationStartInfo** from API Level 35.

[Veeresh Charantimath](https://hashnode.com/@veeresh8)

[Jul 14, 2023](https://hashnode.com/posts/tracking-android-app-launch-in-production/64af4c0009b8aa2957c3b3ae/comment/64b154980470cd817f0dc689)

is there a way to improve app hot-launch time with the Papa lib or in general?

Our app is doing well in the cold and warm department but not able to figure what might be causing hot-launches to be bad.

any ideas?

[Pierre-Yves Ricau](https://hashnode.com/@py)

[Jul 14, 2023](https://hashnode.com/posts/tracking-android-app-launch-in-production/64af4c0009b8aa2957c3b3ae/comment/64b154980470cd817f0dc689#reply-64b178a70470cd817f0dcad4)

You could add stack sampling in production with `Debug.startMethodTracingSampling()` (works in releases) with a low sampling rate, then upload the file from the device. Alternatively, you could track attributes (account, device type, entry point, etc) and then try to repro locally and once you repro a slow hot launch you can profile locally.
