| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 
 | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Adding a new metric? We have docs for that!
# https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
$tags:
  - 'Firefox :: Private Browsing'
private_browsing.reset_pbm:
  confirm_panel:
    type: event
    description: >
      Confirm panel show / hide event.
    extra_keys:
      action:
        type: string
        description: Whether the panel was hidden or shown.
      reason:
        type: string
        description: Reason for the action.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1853698
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1853698#c3
    data_sensitivity:
      - interaction
    notification_emails:
      - emz@mozilla.com
    expires: never
  reset_action:
    type: event
    description: >
      Dispatched whenever PBM is restarted / reset via the resetPBM feature.
    extra_keys:
      did_confirm:
        type: boolean
        description: Whether the user confirmed the reset action via the confirmation dialog.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1853698
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1853698#c3
    data_sensitivity:
      - interaction
    notification_emails:
      - emz@mozilla.com
    expires: never
aboutprivatebrowsing:
  click_info_link:
    type: event
    description: >
      This is recorded when a user clicks a link on the private browsing
      newtab.
      This event was generated to correspond to the Legacy Telemetry event
      aboutprivatebrowsing.click#info_link.
    bugs: &aboutprivatebrowsing_click_bugs
      - https://bugzil.la/1709344
      - https://bugzil.la/1754635
      - https://bugzil.la/1781973
      - https://bugzil.la/1811146
      - https://bugzil.la/1841925
      - https://bugzil.la/1871197
      - https://bugzil.la/1922609
      - https://bugzil.la/1952111
    data_reviews: &aboutprivatebrowsing_click_data_reviews
      - https://bugzil.la/1709344
      - https://bugzil.la/1754635
      - https://bugzil.la/1781973
      - https://bugzil.la/1811146
      - https://bugzil.la/1841925
      - https://bugzil.la/1871197
      - https://phabricator.services.mozilla.com/D225937
    notification_emails: &aboutprivatebrowsing_click_emails
      - emz@mozilla.com
      - tihuang@mozilla.com
    expires: 145
    no_lint:
      - COMMON_PREFIX
    telemetry_mirror: Aboutprivatebrowsing_Click_InfoLink
  click_promo_link:
    type: event
    description: >
      This is recorded when a user clicks a link on the private browsing
      newtab.
      This event was generated to correspond to the Legacy Telemetry event
      aboutprivatebrowsing.click#promo_link.
    bugs: *aboutprivatebrowsing_click_bugs
    data_reviews: *aboutprivatebrowsing_click_data_reviews
    notification_emails: *aboutprivatebrowsing_click_emails
    expires: 145
    no_lint:
      - COMMON_PREFIX
    telemetry_mirror: Aboutprivatebrowsing_Click_PromoLink
  click_dismiss_button:
    type: event
    description: >
      This is recorded when a user clicks a link on the private browsing
      newtab.
      This event was generated to correspond to the Legacy Telemetry event
      aboutprivatebrowsing.click#dismiss_button.
    bugs: *aboutprivatebrowsing_click_bugs
    data_reviews: *aboutprivatebrowsing_click_data_reviews
    notification_emails: *aboutprivatebrowsing_click_emails
    expires: 145
    no_lint:
      - COMMON_PREFIX
    telemetry_mirror: Aboutprivatebrowsing_Click_DismissButton
 |