mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.25k stars 2.95k forks source link

[Analytics] Implement the required telemetry for survey #19506

Open data-sync-user opened 8 months ago

data-sync-user commented 8 months ago

Record the selected answers for a survey with telemetry events.

Note: This will require additional sign off by a data steward in the patch.

Capture the user response in telemetry. This needs to be flexible to work with a number of different feature and survey types.

In metrics.yaml define telemetry to capture this such as:

microsurvey:
  submit_button_tapped:
    type: event
    description: Records that the user tapped on the submit button to respond to the survey.
    extra_keys:
      user_selection:
        type: string
        description: |
          The user's selected option e.g. "satisfied".
    bugs:
      - 
    data_reviews:
      -
    notification_emails:
      - fx-ios-data-stewards@mozilla.com
    data_sensitivity:
      - interaction
    expires: "2025-01-01"

┆Issue is synchronized with this Jira Task

data-sync-user commented 5 months ago

➤ Cyndi Chin commented:

Blocked - waiting on Telemetry Requirements

data-sync-user commented 5 months ago

➤ Cyndi Chin commented:

In addition to the event above, add events that are indicated in this doc:

https://docs.google.com/document/d/14hpCd1h-frPRQKRB3DeplhDRSVF-KyGa8mqimfZQuKQ/edit ( https://docs.google.com/document/d/14hpCd1h-frPRQKRB3DeplhDRSVF-KyGa8mqimfZQuKQ/edit )

data-sync-user commented 5 months ago

➤ Cyndi Chin commented:

Code merged in v129