Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Mobile events taxonomy #19493

Merged
merged 15 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions frontend/src/lib/taxonomy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,76 @@ export const KEY_MAPPING: KeyMappingInterface = {
description: 'UTM Source. (First-touch, session-scoped)',
examples: ['free goodies'],
},
// Mobile SDKs events
'Application Opened': {
label: 'Application Opened',
description: 'When a user opens the app either for the first time or from the foreground.',
},
'Application Backgrounded': {
label: 'Application Backgrounded',
description: 'When a user puts the app in the background.',
},
'Application Updated': {
label: 'Application Updated',
description: 'When a user upgrades the app.',
},
'Application Installed': {
label: 'Application Installed',
description: 'When a user installs the app.',
},
'Application Became Active': {
label: 'Application Became Active',
description: 'When a user puts the app in the foreground.',
},
'Deep Link Opened': {
label: 'Deep Link Opened',
description: 'When a user opens the app via a deep link.',
},
$network_carrier: {
label: 'Network Carrier',
description: 'The network carrier that the user is on.',
examples: ['cricket', 'telecom'],
},
// set by the Application Opened event
from_background: {
label: 'From Background',
description: 'Whether the app was opened for the first time or from the background.',
examples: ['true', 'false'],
},
// set by the Application Opened/Deep Link Opened event
url: {
label: 'URL',
description: 'The deep link URL that the app was opened from.',
examples: ['https://open.my.app'],
},
referring_application: {
label: 'Referrer Application',
description: 'The namespace of the app that made the request.',
examples: ['com.posthog.app'],
},
// set by the Application Installed/Application Updated/Application Opened events
// similar to $app_version
version: {
label: 'App Version',
description: 'The version of the app',
examples: ['1.0.0'],
},
previous_version: {
label: 'App Previous Version',
description: 'The previous version of the app',
examples: ['1.0.0'],
},
// similar to $app_build
build: {
label: 'App Build',
description: 'The build number for the app',
examples: ['1'],
},
previous_build: {
label: 'App Previous Build',
description: 'The previous build number for the app',
examples: ['1'],
},
},
element: {
tag_name: {
Expand Down
Loading