Bug 1549784 - Register a telemetry event for trailhead enrollment r=Mardak,chutten
authorNan Jiang <njiang028@gmail.com>
Wed, 08 May 2019 22:25:09 +0000
changeset 531962 c67422ffde6eb701d4ea0dbbf746a7b3ff74a317
parent 531961 129dafe816e8bd27d75f0eb051f343871df5e744
child 531963 2d1f7a0e1e825790fc6df28b65c30045e38bd747
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMardak, chutten
bugs1549784
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1549784 - Register a telemetry event for trailhead enrollment r=Mardak,chutten Register a new telemetry event for Trailhead enrollment. Differential Revision: https://phabricator.services.mozilla.com/D30288
toolkit/components/telemetry/Events.yaml
--- a/toolkit/components/telemetry/Events.yaml
+++ b/toolkit/components/telemetry/Events.yaml
@@ -69,16 +69,32 @@ activity_stream:
       - "najiang@mozilla.com"
       - "msamuel@mozilla.com"
     expiry_version: never
     extra_keys:
       addon_version: The Activity Stream addon version.
       session_id: The ID of the Activity Stream session in which the event occurred
       page: about:home or about_newtab - the page where the event occurred
       user_prefs: An integer representaing a user's A-S settings.
+  enroll:
+    objects: ["preference_study"]
+    release_channel_collection: opt-out
+    description: >
+      Sent when a user gets enrolled in a preference study.
+    bug_numbers: [1549784]
+    notification_emails:
+      - "najiang@mozilla.com"
+      - "edilee@mozilla.com"
+    record_in_processes: ["main"]
+    expiry_version: never
+    extra_keys:
+      experimentType: >
+        For preference_study recipes, the type of experiment this is ("exp" or "exp-highpop").
+      branch: >
+        For preference_study recipes, the slug of the branch that was chosen for this client.
 
 addonsManager:
   install:
     description: >
       This events are recorded during the install and update flow for extensions and themes,
       the value of the event is an install_id shared by the events related to the same install
       or update flow.
     objects: ["extension", "theme", "locale", "dictionary", "other", "unknown"]