Automattic / Automattic/pocket-casts-android

application_opened analytics event is delayed

Open
#338 2 comments 0 reactions 0 assignees View on GitHub
[Area] Analytics [Type] Enhancement
Dominant language
Kotlin
Stars
2.8k
Forks
308
Avg merge
1d 10h
Merged PRs (30d)
187

Description

The application_opened analytics event appears to be just a bit delayed resulting in it firing _after_ the various screen shown events are fired. Seems like this could cause some difficulties with determining what the user's flow was through the app when they open the application.

```
2022-09-21 13:12:58.765 I 🔵 Tracked: podcast_tab_opened, Properties: {...}
2022-09-21 13:12:58.864 I 🔵 Tracked: podcasts_list_shown, Properties: {...}
2022-09-21 13:12:58.981 I 🔵 Tracked: application_opened, Properties: {...}
```

#### Actual Behavior
application_opened fires _after_ the relevant screen_shown events are fired when opening the app

#### Expected Behavior
application_opened fires _before_ the relevant screen_shown events are fired when opening the app

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the app-opening log sequence and tracing where the application_opened and screen-shown analytics events are triggered. Confirm the fix by verifying that application_opened is recorded before the relevant screen_shown events during startup.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
analytics, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.