Bug 1429497 - Update Events.yaml with Activity Stream click and session events. draft
authorMarina Samuel <msamuel@mozilla.com>
Thu, 11 Jan 2018 16:47:08 -0500
changeset 720549 58952698f3a0547b2273eabbb3603929583f8a1c
parent 715271 ac93fdadf1022211eec62258ad22b42cb37a6d14
child 746093 a122a081950005a45871e6b6d5d76e58d6b77d67
push id95574
push userbmo:msamuel@mozilla.com
push dateMon, 15 Jan 2018 19:23:21 +0000
bugs1429497
milestone59.0a1
Bug 1429497 - Update Events.yaml with Activity Stream click and session events. MozReview-Commit-ID: B0JfQrIRzHY
toolkit/components/telemetry/Events.yaml
--- a/toolkit/components/telemetry/Events.yaml
+++ b/toolkit/components/telemetry/Events.yaml
@@ -1,8 +1,59 @@
+activity_stream:
+  event:
+    objects: [
+      "CLICK",
+      "SEARCH",
+      "BLOCK",
+      "DELETE",
+      "DELETE_CONFIRM",
+      "DIALOG_CANCEL",
+      "DIALOG_OPEN",
+      "OPEN_NEW_WINDOW",
+      "OPEN_PRIVATE_WINDOW",
+      "OPEN_NEWTAB_PREFS",
+      "CLOSE_NEWTAB_PREFS",
+      "BOOKMARK_DELETE",
+      "BOOKMARK_ADD",
+      "PIN",
+      "UNPIN",
+      "SAVE_TO_POCKET"]
+    release_channel_collection: opt-out
+    record_in_processes: ["main"]
+    description: >
+      This is recorded with every user interaction on Activity Stream elements.
+    bug_numbers: [1429497, 1429489]
+    notification_emails:
+      - "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.
+      action_position: The index of card receiving interactions.
+  end:
+    objects: ["session"]
+    release_channel_collection: opt-out
+    record_in_processes: ["main"]
+    description: >
+      This is recorded with every session ended in Activity Stream.
+    bug_numbers: [1429497, 1429489]
+    notification_emails:
+      - "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.
+
 navigation:
   search:
     objects: ["about_home", "about_newtab", "contextmenu", "oneoff",
               "suggestion", "alias", "enter", "searchbar", "urlbar"]
     release_channel_collection: opt-out
     record_in_processes: ["main"]
     description: >
       This is recorded on each search navigation.