Skip to content

Commit 849e366

Browse files
authored
Merge pull request #121 from TelemetryDeck/docs/add-default-parameters
Add calendar, acquisition and retention parameters which are now sent with every event
2 parents 978355f + 67041e7 commit 849e366

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

ingest/default-parameters.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,24 @@ Navigation analytics signals have these parameters, which can be included in any
155155
- `TelemetryDeck.Navigation.destinationPath` (String): The destination path of the navigation, e.g. `/host/info/about` or `app.settings.privacy`.
156156
- `TelemetryDeck.Navigation.identifier` (String): String that uniquely identifies the navigation in the format `sourcePath -> destinationPath`.
157157

158+
## Acquisition Analytics
159+
160+
161+
- `TelemetryDeck.Calendar.dayOfMonth`: The day-of-month (1..31) component of the date.
162+
- `TelemetryDeck.Calendar.dayOfWeek`: The ISO 8601 number of the given day of the week. Monday is 1, Sunday is 7.
163+
- `TelemetryDeck.Calendar.dayOfYear`: The 1-based day-of-year component of the date.
164+
- `TelemetryDeck.Calendar.weekOfYear`: The week number within the current year as defined by `getFirstDayOfWeek()` and `getMinimalDaysInFirstWeek()`.
165+
- `TelemetryDeck.Calendar.isWeekend`: `true` if the day of the week is Saturday or Sunday, `false` otherwise.
166+
- `TelemetryDeck.Calendar.monthOfYear`: The number-of-the-month (1..12) component of the date.
167+
- `TelemetryDeck.Calendar.quarterOfYear`: The the quarter-of-year (1..4). For API 26 and earlier, it's the number of the month divided by 3.
168+
- `TelemetryDeck.Calendar.hourOfDay`: The hour-of-day (0..23) time component of this time value.
169+
- `TelemetryDeck.Acquisition.firstSessionDate`: The date of the first session e.g. 2025-02-22
170+
- `TelemetryDeck.Retention.averageSessionSeconds`: The average session duration in seconds.
171+
- `TelemetryDeck.Retention.distinctDaysUsed`: The number of distinct dates on which the app was used.
172+
- `TelemetryDeck.Retention.totalSessionsCount`: The total number of sessions.
173+
- `TelemetryDeck.Retention.previousSessionSeconds`: The duration of the previous session in seconds.
174+
- `TelemetryDeck.Retention.distinctDaysUsedLastMonth`: The number of distinct dates on which the app was used in the last month.
175+
158176
## API
159177

160178
Information about which TelemetryDeck API this signal was sent to.

0 commit comments

Comments
 (0)