Skip to content
This repository was archived by the owner on Feb 29, 2020. It is now read-only.
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
4 changes: 4 additions & 0 deletions docs/v2-system-addon/data_dictionary.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Schema definitions/validations that can be used for tests can be found in `syste
"page": ["about:newtab" | "about:home" | "unknown"],
"session_duration": 1635,
"session_id": "{12dasd-213asda-213dkakj}",
"region": "US",
"profile_creation_date": 14786,
"user_prefs": 7

// These fields are generated on the server
Expand Down Expand Up @@ -189,6 +191,8 @@ and losing focus. | :one:
| `user_prefs` | [Required] The encoded integer of user's preferences. | :one: & :four:
| `is_prerendered` | [Required] A boolean to signify whether the page is prerendered or not | :one:
| `is_preloaded` | [Required] A boolean to signify whether the page is preloaded or not | :one:
| `region` | [Optional] An string maps to pref "browser.search.region", which is essentially the two letter ISO 3166-1 country code populated by the Firefox search service. Note that: 1). it reports "OTHER" for those regions with smaller Firefox user base (less than 10000) so that users cannot be uniquely identified; 2). it reports "UNSET" if this pref is missing; 3). it reports "EMPTY" if the value of this pref is an empty string. | :one:
| `profile_creation_date` | [Optional] An integer to record the age of the Firefox profile as the total number of days since the UNIX epoch. | :one:

**Where:**

Expand Down
2 changes: 2 additions & 0 deletions docs/v2-system-addon/data_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ All `"activity_stream_session"` pings have the following basic shape. Some field
"locale": "en-US",
"page": ["about:newtab" | "about:home" | "unknown"],
"session_duration": 4199,
"region": "US",
"profile_creation_date": 14786,
"user_prefs": 7
}
```
Expand Down