Skip to content

Commit b180621

Browse files
committed
Bug 1621703 - Add default browser notification telemetry
1 parent 0e9517a commit b180621

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed

schemas/default-browser-agent/default-browser/default-browser.1.schema.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,27 @@
77
"build_version": {
88
"type": "string"
99
},
10+
"client_id": {
11+
"description": "A UUID, specific to the Windows user",
12+
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
13+
"type": "string"
14+
},
1015
"default_browser": {
1116
"description": "The current default browser",
1217
"type": "string"
1318
},
19+
"notification_action": {
20+
"description": "What action was taken by the user then the toast notification was displayed",
21+
"type": "string"
22+
},
23+
"notification_shown": {
24+
"description": "Whether the notification was shown, not shown, or resulted in an error",
25+
"type": "string"
26+
},
27+
"notification_type": {
28+
"description": "Whether the notification shown was the initial notification, or the followup",
29+
"type": "string"
30+
},
1431
"os_locale": {
1532
"description": "The current user's OS locale setting",
1633
"type": "string"

templates/default-browser-agent/default-browser/default-browser.1.schema.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@
77
"build_version": {
88
"type": "string"
99
},
10+
"client_id": {
11+
"description": "A UUID, specific to the Windows user",
12+
@COMMON_PATTERN_UUID_1_JSON@,
13+
"type": "string"
14+
},
15+
"notification_action": {
16+
"description": "What action was taken by the user then the toast notification was displayed",
17+
"type": "string"
18+
},
19+
"notification_shown": {
20+
"description": "Whether the notification was shown, not shown, or resulted in an error",
21+
"type": "string"
22+
},
23+
"notification_type": {
24+
"description": "Whether the notification shown was the initial notification, or the followup",
25+
"type": "string"
26+
},
1027
"os_version": {
1128
"description": "Windows version numnber in major.minor.build.UBR format (UBR is optional, only available on Win10)",
1229
"type": "string"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"build_channel": "nightly",
3+
"build_version": "74.0a1",
4+
"os_version": "10.0.18363.592",
5+
"os_locale": "en-US",
6+
"default_browser": "firefox",
7+
"previous_default_browser": "edge",
8+
"client_id": "98D8A499-DBA0-4340-A058-64CF35986FFB",
9+
"notification_type": "initial",
10+
"notification_shown": "shown",
11+
"notification_action": "dismissed-by-timeout"
12+
}

0 commit comments

Comments
 (0)