When an app feels slow, the cause is often the network, not your code. Without connection data, a team sees a long load time and starts optimising the wrong thing. Knowing whether a user was on Wi-Fi, 4G or 5G turns a vague complaint into a fixable pattern.
AppMetrica Android SDK 8.6.0 (30 September 2026) lets the SDK collect the cellular network type on Android 13 and newer using the READ_BASIC_PHONE_STATE permission, rather than only the broader READ_PHONE_STATE. That is a lighter permission, which makes connection-quality analysis easier to justify.
Data Points to Track
- connection_type: wifi, cellular or offline
- cellular_generation: 2G, 3G, 4G or 5G, where available
- permission_granted: whether the phone-state permission is held
- screen_load_ms: time to first usable content, by connection type
- request_failure_rate: failed network calls per session
- abandon_after_slow_load: true when the user leaves within ten seconds
- region: country or area, bucketed
- os_version: Android version, since behaviour differs before 13
- sdk_version: AppMetrica version
- app_version: release
Setup Steps
- Review your permission policy. Decide with your privacy lead whether network type is needed and document why.
- Declare the permission in your manifest only if you will use the data.
- Upgrade to AppMetrica Android SDK 8.6.0 or later.
- Add
connection_typeandcellular_generationto your slow-screen and failed-request events. - Handle missing data. Record “unknown” when the permission is not available instead of leaving the field empty.
- Update your privacy notice if you start collecting a new device signal.
- Build a report that compares load time and conversion by connection type.
Actionable Insights
If 4G users convert much less than 5G or Wi-Fi users, test lighter images, fewer requests on first load and retry logic before changing the design.
If the share of “unknown” is high, treat conclusions with caution. Missing data may be skewed toward certain devices or regions.
Compare drop-off after slow loads by generation. A steep fall on 3G may justify a lite mode, while a mild effect may not be worth the engineering time.
Use the data to set realistic performance budgets. A target that holds on 5G but fails on 4G is not a real target for most of your audience.
Common Mistakes to Avoid
Do not request a permission you will not use. Do not assume cellular generation is accurate at every moment, because users move between towers and the value can change mid-session. Avoid reporting a single average load time, since it hides the slow tail that causes most abandonment. Keep connection type as a bucketed label, never a precise location.
A Simple Rollout Plan
Start with your three slowest screens. Add connection fields, ship, and review one week of data. If the gap between Wi-Fi and cellular is small, stop there. If it is large, add the fields to checkout and sign-up as well. Share the first chart with design and engineering so the whole team agrees on which connection types matter for your users.
Related Resources
- Product analytics for connecting performance to behaviour
- Documentation for the API and event format
- Services for help planning privacy-friendly tracking