forked from mirrors/gecko-dev
Bug 1900103 - Add Weather telemetry event for location search a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D213654 Differential Revision: https://phabricator.services.mozilla.com/D213905
This commit is contained in:
parent
f0c0039d62
commit
50ae660151
2 changed files with 23 additions and 4 deletions
|
|
@ -943,12 +943,9 @@ export class TelemetryFeed {
|
|||
this.handleSetPref(action);
|
||||
break;
|
||||
case at.WEATHER_IMPRESSION:
|
||||
this.handleWeatherUserEvent(action);
|
||||
break;
|
||||
case at.WEATHER_LOAD_ERROR:
|
||||
this.handleWeatherUserEvent(action);
|
||||
break;
|
||||
case at.WEATHER_OPEN_PROVIDER_URL:
|
||||
case at.WEATHER_LOCATION_DATA_UPDATE:
|
||||
this.handleWeatherUserEvent(action);
|
||||
break;
|
||||
}
|
||||
|
|
@ -996,6 +993,11 @@ export class TelemetryFeed {
|
|||
newtab_visit_id: session.session_id,
|
||||
});
|
||||
break;
|
||||
case "WEATHER_LOCATION_DATA_UPDATE":
|
||||
Glean.newtab.weatherLocationSelected.record({
|
||||
newtab_visit_id: session.session_id,
|
||||
});
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -415,6 +415,23 @@ newtab:
|
|||
send_in_pings:
|
||||
- newtab
|
||||
|
||||
weather_location_selected:
|
||||
type: event
|
||||
description: >
|
||||
Recorded when a user selects a location for weather widget
|
||||
bugs:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1900103
|
||||
data_reviews:
|
||||
- https://bugzilla.mozilla.org/show_bug.cgi?id=1900103
|
||||
data_sensitivity:
|
||||
- interaction
|
||||
notification_emails:
|
||||
- nbarrett@mozilla.com
|
||||
expires: never
|
||||
extra_keys:
|
||||
newtab_visit_id: *newtab_visit_id
|
||||
send_in_pings:
|
||||
- newtab
|
||||
|
||||
newtab.search:
|
||||
enabled:
|
||||
|
|
|
|||
Loading…
Reference in a new issue