Closed Bug 1641396 Opened 5 years ago Closed 5 years ago

Add telemetry for the the about:logins menu items

Categories

(Firefox :: about:logins, enhancement, P2)

Desktop
All
enhancement

Tracking

()

VERIFIED FIXED
Firefox 79
Tracking Status
firefox78 --- disabled
firefox79 --- verified

People

(Reporter: MattN, Assigned: petcuandrei, Mentored)

References

Details

Attachments

(2 files, 2 obsolete files)

pwmgr:
  mgmt_menu_item_used:
    description: >
      These events record interactions in the about:logins menu.
    objects: [
      "import_from_browser",
      "export",
      "preferences",
    ]
    bug_numbers:
      - <this bug #>
    expiry_version: never
    notification_emails: ["loines@mozilla.com", "passwords-dev@mozilla.org"]
    release_channel_collection: opt-out
    products:
      - "firefox"
    record_in_processes: [content]

Add that around https://searchfox.org/mozilla-central/rev/bc3600def806859c31b2c7ac06e3d69271052a89/toolkit/components/telemetry/Events.yaml#660

I didn't bother with the web link one since we already have website analytics for those.

Then use the API:

import { recordTelemetryEvent } from "../aboutLoginsUtils.js";
recordTelemetryEvent({ object: "import_from_browser", method: "mgmt_menu_item_used" });

We will need a data review using the process at https://wiki.mozilla.org/index.php?title=Firefox/Data_Collection&mobileaction=toggle_view_desktop#Requesting_Data_Collection

Flags: qe-verify+

Depends on D75716

Assignee: nobody → petcuandrei
Status: NEW → ASSIGNED
Attachment #9152915 - Flags: data-review?(tdsmith)

Depends on D77376

Attachment #9152951 - Attachment is obsolete: true
Attachment #9152946 - Attachment is obsolete: true
Comment on attachment 9152915 [details] Request for data collection review form 1) Is there or will there be **documentation** that describes the schema for the ultimate data set in a public, complete, and accurate way? Yes, in Events.yaml. 2) Is there a control mechanism that allows the user to turn the data collection on and off? Yes, the Firefox telemetry opt out. 3) If the request is for permanent data collection, is there someone who will monitor the data over time? Yes, MattN. 4) Using the **[category system of data types](https://wiki.mozilla.org/Firefox/Data_Collection)** on the Mozilla wiki, what collection type of data do the requested measurements fall under? Category 2, interaction data. 5) Is the data collection request for default-on or default-off? Default-on. 6) Does the instrumentation include the addition of **any *new* identifiers** (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)? No. 7) Is the data collection covered by the existing Firefox privacy notice? Yes. 8) Does there need to be a check-in in the future to determine whether to renew the data? n/a, permanent collection 9) Does the data collection use a third-party collection tool? No.
Attachment #9152915 - Flags: data-review?(tdsmith) → data-review+
Attachment #9152502 - Attachment description: Bug 1641396 Add telemetry for the the about:logins menu items → Bug 1641396 - Add telemetry for the the about:logins menu items
Pushed by mozilla@noorenberghe.ca: https://hg.mozilla.org/integration/autoland/rev/5c4bc410f427 Add telemetry for the the about:logins menu items r=MattN
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79

I have verified this issue using the latest Firefox Nightly 79.0a1 (Build ID: 20200603214922) on Windows 10 x64, Ubuntu 18.04, Mac 10.14.6, Windows 7 x64.

  • The following telemetry events are successfully registered:
    • The {method: mgmt_menu_item_used; object: “export”} event is registered after clicking the “Export logins…” option from the menu.
    • The {method: “mgmt_menu_item_used”; object: “import_from_browser”} event is registered after clicking the “Import from Another Browser..” option from the menu. (not available on Linux)
    • The {method: “mgmt_menu_item_used”; object: “export_complete”} event is registered after finishing exporting the logins into a CSV file.
    • The {method: “mgmt_menu_item_used”; object: “preferences”} event is registered after clicking the “Options” option from the menu.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: