Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/mobile/android/focus-android/app/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 85 kB image not shown  

Quelle  metrics.yaml   Sprache: unbekannt

 
# 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/.
---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0

no_lint:
  - CATEGORY_GENERIC
  - COMMON_PREFIX

browser:
  is_default:
    type: boolean
    lifetime: application
    description: |
      Is Focus the default browser? This is true only if the user
      changes the default browser through the app settings.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/4545
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5065#issuecomment-894328647
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    send_in_pings:
      - usage-reporting
    notification_emails:
      - android-probes@mozilla.com
    expires: never
  default_search_engine:
    type: string
    lifetime: application
    description: |
      A string containing the default search engine name.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/4545
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5065#issuecomment-894328647
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    send_in_pings:
      - baseline
      - metrics
    no_lint:
      - BASELINE_PING
    notification_emails:
      - android-probes@mozilla.com
    expires: never
  locale_override:
    type: string
    lifetime: application
    description: |
      The locale that differs from the system locale if a user
      specifically overrides it for the app.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/4545
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5065#issuecomment-894328647
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
      - https://github.com/mozilla-mobile/firefox-android/pull/4040
    data_sensitivity:
      - technical
    notification_emails:
      - android-probes@mozilla.com
    expires: never
  total_uri_count:
    type: counter
    description: |
      Records count of URIs visited by the user in the current session,
      including page reloads.
      It does not include background page requests and URIs from embedded pages
      but may be incremented without user interaction by website scripts
      that programmatically redirect to a new location.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5518
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5523
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - mcarare@mozilla.com
    send_in_pings:
      - metrics
      - baseline
    no_lint:
      - BASELINE_PING
    expires: never
  install_source:
    type: string
    lifetime: application
    description: Used to identify the source the app was installed from.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5684
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5694
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - technical
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  back_button_pressed:
    type: event
    description: Back button has been presed on a browser tab.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5914
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5913
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      action_performed:
        description: |
          The action performed by pressing back button:
          erase_to_home or erase_to_external_app.
        type: string
  report_site_issue_counter:
    type: counter
    description: |
      A counter that indicates how many times a user has tapped
      the report site issue from browser menu
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5897
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5898
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never

perf.startup:
  startup_type:
    type: labeled_counter
    description: |
      Indicates how the browser was started. The label is divided into two
      variables. `state` is how cached the browser is when started. `path` is
      what code path we are expected to take. Together, they create a combined
      label: `state_path`. For brevity, the specific states are documented in
      the [Fenix perf
      glossary](https://wiki.mozilla.org/index.php?title=Performance/Fenix/Glossary).
      <br><br>
      This implementation is intended to be simple, not comprehensive. We list
      the implications below.

      <br><br>
      These ways of opening the app undesirably adds events to our primary
      buckets (non-`unknown` cases):
      <br>- App switcher cold/warm: `cold/warm_` + duplicates path from
      previous launch
      <br>- An Intent is sent internally that's uses `ACTION_MAIN` or
      `ACTION_VIEW` could be: `*_main/view` (unknown if this ever happens)
      <br>- A command-line launch uses `ACTION_MAIN` or `ACTION_VIEW` could be:
      `*_main/view`

      <br><br>
      These ways of opening the app undesirably do not add their events to our
      primary buckets:
      <br>- Close and reopen the app very quickly: no event is recorded.

      <br><br>
      These ways of opening the app don't affect our primary buckets:
      <br>- App switcher hot: `hot_unknown`
      <br>- PWA (all states): `unknown_unknown`
      <br>- Custom tab: `unknown_view`
      <br>- Cold start where a service or other non-activity starts the process
      (not manually tested) - this seems to happen if you have the homescreen
      widget: `unknown_*`
      <br>- Another activity is drawn before MainActivity or CustomTabActivity
      (e.g. widget voice
      search): `unknown_*`

      <br>
      In addition to the events above, the `unknown` state may be chosen when we
      were unable to determine a cause due to implementation details or the API
      was used incorrectly. We may be able to record the events listed above
      into different buckets but we kept the implementation simple for now.
      <br><br>
      N.B.: for implementation simplicity, we duplicate the logic in app that
      determines `path` so it's not perfectly accurate. In one way, we record we
      is intended to happen rather than what actually happened (e.g. the user
      may click a link so we record VIEW but the app does a MAIN by going to the
      homescreen because the link was invalid).
    labels:
      - cold_main
      - cold_view
      - cold_unknown
      - warm_main
      - warm_view
      - warm_unknown
      - hot_main
      - hot_view
      - hot_unknown
      - unknown_main
      - unknown_view
      - unknown_unknown
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/7079
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/
    data_sensitivity:
      - interaction
    notification_emails:
      - perf-telemetry-alerts@mozilla.com
      - mleclair@mozilla.com
    expires: never

activation:
  activation_id:
    type: uuid
    lifetime: user
    description: |
      An alternate identifier, not correlated with the client_id, generated once
      and only sent with the activation ping.
    send_in_pings:
      - activation
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/4545
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/issues/4901
    data_sensitivity:
      - highly_sensitive
    notification_emails:
      - android-probes@mozilla.com
      - jalmeida@mozilla.com
    expires: never

usage:
  profile_id:
    type: uuid
    lifetime: user
    description: |
      A UUID uniquely identifying the profile,
      not shared with other telemetry data.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1923902
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1926829
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1923902
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1923902
    data_sensitivity:
      - technical
      - highly_sensitive
    notification_emails:
      - glean-team@mozilla.com
      - jrediger@mozilla.com
      - loines@mozilla.com
    expires: never
    send_in_pings:
      - usage-reporting
      - usage-deletion-request

  duration:
    type: timespan
    description: |
      The duration of the last foreground session.
    time_unit: second
    send_in_pings:
      - usage-reporting
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1938070
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1512938#c3
    data_sensitivity:
      - technical
      - interaction
    notification_emails:
      - glean-team@mozilla.com
      - jrediger@mozilla.com
      - loines@mozilla.com
    expires: never

  reason:
    type: string
    lifetime: ping
    send_in_pings:
      - usage-reporting
    description: |
      The optional reason the ping was submitted.
      The specific values for reason are specific to each ping, and are
      documented in the ping's pings.yaml file.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1938070
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1609218#c4
    data_sensitivity:
      - technical
    notification_emails:
      - glean-team@mozilla.com
      - jrediger@mozilla.com
      - loines@mozilla.com
    expires: never

  os:
    type: string
    lifetime: application
    send_in_pings:
      - usage-reporting
    description: |
      The name of the operating system.
      Possible values:
      Android, iOS, Linux, Darwin, Windows,
      FreeBSD, NetBSD, OpenBSD, Solaris, Unknown
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1938070
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1512938#c3
    data_sensitivity:
      - technical
    notification_emails:
      - glean-team@mozilla.com
      - jrediger@mozilla.com
      - loines@mozilla.com
    expires: never

  os_version:
    type: string
    lifetime: application
    send_in_pings:
      - usage-reporting
    description: |
      The user-visible version of the operating system (e.g. "1.2.3").
      If the version detection fails, this metric gets set to `Unknown`.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1938070
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1512938#c3
    data_sensitivity:
      - technical
    notification_emails:
      - glean-team@mozilla.com
      - jrediger@mozilla.com
      - loines@mozilla.com
    expires: never

  app_display_version:
    type: string
    lifetime: application
    send_in_pings:
      - usage-reporting
    description: |
      The user visible version string (e.g. "1.0.3").
      If the value was not provided through configuration,
      this metric gets set to `Unknown`.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1938070
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1508305#c9
    data_sensitivity:
      - technical
    notification_emails:
      - glean-team@mozilla.com
      - jrediger@mozilla.com
      - loines@mozilla.com
    expires: never

  app_channel:
    type: string
    lifetime: application
    send_in_pings:
      - usage-reporting
    description: |
      The channel the application is being distributed on.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1938070
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1520741#c18
    data_sensitivity:
      - technical
    notification_emails:
      - glean-team@mozilla.com
      - jrediger@mozilla.com
      - loines@mozilla.com
    expires: never

  first_run_date:
    type: datetime
    lifetime: user
    send_in_pings:
      - usage-reporting
    time_unit: day
    description: |
      The date of the first run of the application.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1938070
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1525045#c18
    data_sensitivity:
      - technical
    notification_emails:
      - glean-team@mozilla.com
      - jrediger@mozilla.com
      - loines@mozilla.com
    expires: never

  app_build:
    type: string
    lifetime: application
    send_in_pings:
      - usage-reporting
    description: |
      The build identifier generated by the CI system (e.g. "1234/A").
      If the value was not provided through configuration,
      this metric gets set to `Unknown`.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1938070
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1512938#c3
    data_sensitivity:
      - technical
    notification_emails:
      - glean-team@mozilla.com
      - jrediger@mozilla.com
      - loines@mozilla.com
    expires: never

legacy_ids:
  client_id:
    type: uuid
    description: |
      Sets the legacy client ID as part of the deletion-request ping.
      **No longer reported set since Focus 124, where legacy telemetry was removed**.
    send_in_pings:
      - deletion-request
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/4545
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1805256
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5512#issuecomment-1023668181
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1805256
    notification_emails:
      - jalmeida@mozilla.com
      - android-probes@mozilla.com
      - tlong@mozilla.com
    expires: never

browser.search:
  with_ads:
    type: labeled_counter
    description: |
      Records counts of SERP pages with adverts displayed.
      The key format is
      `<provider-name>.in-content.[sap|sap-follow-on|organic].[code|none](.[channel])?`,
      where:

      * `provider-name` is the name of the provider,
      * `sap|sap-follow-on|organic` is the search access point,
      * `code` is set when the url matches any of the provider's code prefixes,
      * `channel` is set to the url "channel" query parameter.
    send_in_pings:
      - metrics
    bugs:
      - https://github.com/mozilla-mobile/fenix/issues/4967
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1804057
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1799049
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1809447
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1925028
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/4968#issuecomment-879256443
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/focus-android/pull/8109#issuecomment-1337394286
      - https://github.com/mozilla-mobile/firefox-android/pull/523#issuecomment-1377494482
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1925028
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  ad_clicks:
    type: labeled_counter
    description: |
      Records clicks of adverts on SERP pages.
      The key format is
      `<provider-name>.in-content.[sap|sap-follow-on|organic].[code|none](.[channel])?`,
      where:

      * `provider-name` is the name of the provider,
      * `sap|sap-follow-on|organic` is the search access point,
      * `code` is set when the url matches any of the provider's code prefixes,
      * `channel` is set to the url "channel" query parameter.
    send_in_pings:
      - metrics
      - baseline
    no_lint:
      - BASELINE_PING
    bugs:
      - https://github.com/mozilla-mobile/fenix/issues/4967
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1804057
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1809447
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1925028
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/4968#issuecomment-879256443
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/focus-android/pull/8109#issuecomment-1337394286
      - https://github.com/mozilla-mobile/firefox-android/pull/523#issuecomment-1377494482
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1925028
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  in_content:
    type: labeled_counter
    description: |
      Records the type of interaction a user has on SERP pages.
    send_in_pings:
      - metrics
      - baseline
    no_lint:
      - BASELINE_PING
    bugs:
      - https://github.com/mozilla-mobile/fenix/issues/4967
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1809447
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1925028
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/4968#issuecomment-879256443
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/523#issuecomment-1377494482
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1925028
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never

  search_count:
    type: labeled_counter
    description: |
      The labels for this counter are `<search-engine-name>.<source>`.

      If the search engine is bundled with Focus `search-engine-name` will be
      the name of the search engine. If it's a custom search engine (defined:
      https://github.com/mozilla-mobile/fenix/issues/1607) the value will be
      `custom`.

      `source` will be: `action`, `suggestion`
    send_in_pings:
      - metrics
      - baseline
    no_lint:
      - BASELINE_PING
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/6229
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1925028
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/6238
      - https://github.com/mozilla-mobile/focus-android/pull/7906
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1925028
    data_sensitivity:
      - technical
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never

mozilla_products:
  has_fenix_installed:
    type: boolean
    lifetime: application
    description: |
       If Fenix is installed on the users's device.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5295
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5303
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - technical
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never
  is_fenix_default_browser:
    type: boolean
    lifetime: application
    description: |
      Fenix is the default browser on user's device
    send_in_pings:
      - metrics
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5295
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5303
      - https://github.com/mozilla-mobile/focus-android/pull/6315
      - https://github.com/mozilla-mobile/firefox-android/pull/632
    data_sensitivity:
      - technical
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never

autocomplete:
  domain_added:
    type: counter
    description: |
      A counter that indicates how many times a user has added
      a website to the autocomplete list.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5885
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5886
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  domain_removed:
    type: counter
    description: |
      A counter that indicates how many times a user has removed
      a website from the autocomplete list.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5885
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5886
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  list_order_changed:
    type: counter
    description: |
      A counter that indicates how many times a user has reordered
      the autocomplete list.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5885
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5886
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  top_sites_setting_changed:
    type: event
    description: |
      Autocomplete setting for top sites has changed.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5885
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5940
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      is_enabled:
        description: The new setting true for ON, false for OFF
        type: boolean
  favorite_sites_setting_changed:
    type: event
    description: |
      Autocomplete setting for favorite sites has changed.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5885
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5940
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      is_enabled:
        description: The new setting true for ON, false for OFF
        type: boolean

shortcuts:
  shortcuts_on_home_number:
    type: quantity
    description: |
      The number of shortcuts the user has on home screen,
      0, 1, 2, 3 or 4 (maximum)
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5056
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5189
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never
    unit: shortcut(s)
  shortcut_opened_counter:
    type: counter
    description: |
      A counter that indicates how many times a user has opened
      a website from a shortcut in the home screen.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5056
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5189
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never
  shortcut_added_counter:
    type: counter
    description: |
      A counter that indicates how many times a user has added
      a website to shortcuts.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5056
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5189
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never
  shortcut_removed_counter:
    type: labeled_counter
    description: |
      A counter that indicates how many times a user has removed
      a website from shortcuts.
      It also indicates the screen it was removed from, home or browser.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5056
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5189
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never
    labels:
      - removed_from_browser_menu
      - removed_from_home_screen
tracking_protection:
  toolbar_shield_clicked:
    type: counter
    description: |
      A counter that indicates how many times a user has opened
      the tracking protection settings panel from the toolbar.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5057
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5163
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never

  tracking_protection_changed:
    type: event
    description: |
      The user has changed the setting for enhanced tracking protection.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5057
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5163
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never
    extra_keys:
      is_enabled:
        description: The new setting for ETP, true for ON, false for OFF
        type: boolean

  has_ever_changed_etp:
    type: boolean
    description: |
      The user has changed the setting for enhanced tracking protection
      at least once.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5057
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5163
      - https://github.com/mozilla-mobile/focus-android/pull/5543
    data_sensitivity:
      - interaction
    lifetime: user
    notification_emails:
      - android-probes@mozilla.com
      - mcarare@mozilla.com
    expires: never

  tracker_setting_changed:
    type: event
    description: |
      The user has changed the advertising tracker protection state.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5057
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5163
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never
    extra_keys:
      source_of_change:
        description: The source of interaction, "Panel" or "Settings"
        type: string
      tracker_changed:
        description: |
          The tracker changed, "Advertising", "Analytics", "Social", "Content"
        type: string
      is_enabled:
        description: The new setting for tracker, true for ON, false for OFF
        type: boolean

  has_social_blocked:
    type: boolean
    description: |
      The user has changed the setting for enhanced tracking protection
      at least once.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5057
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5163
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never

  has_advertising_blocked:
    type: boolean
    description: |
      The user has changed the setting for enhanced tracking protection
      at least once.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5057
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5163
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never

  has_analytics_blocked:
    type: boolean
    description: |
      The user has changed the setting for enhanced tracking protection
      at least once.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5057
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5163
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never

  has_content_blocked:
    type: boolean
    description: |
      The user has changed the setting for enhanced tracking protection
      at least once.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5057
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5163
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never
pro_tips:
  tip_displayed:
    type: event
    description: A pro tip has been displayed.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5541
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5542
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      tip_id:
        description: |
          The tip code of tip being displayed. Can be one of fresh_look_tip,
          shortcuts_tip, allow_list_tip, etp_tip,request_desktop_tip.
          Note that fresh_look_tip is automatically displayed on home screen.
        type: string
  link_in_tip_clicked:
    type: event
    description: A link in a pro tip has been clicked.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5541
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5542
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      tip_id:
        description: |
          The tip code of tip being clicked.
          Can be one of fresh_look_tip, allow_list_tip, request_desktop_tip.
        type: string

preferences:
  user_theme:
    type: string
    description: >
      A string that indicates the theme.
      Can be one of LIGHT, DARK, or FOLLOW DEVICE.
      Default is FOLLOW DEVICE.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5519
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5526
      - https://github.com/mozilla-mobile/focus-android/pull/7418#issuecomment-1195518264
      - https://github.com/mozilla-mobile/firefox-android/pull/3320
      - https://github.com/mozilla-mobile/firefox-android/pull/4040
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
    expires: never

app_opened:
  from_icons:
    type: event
    description: |
      The user has opened the app using launcher icons
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5546
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5552
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      open_type:
        description: |
          Can be "Launch" if Focus was not already opened or "Resume" if it was.
        type: string
  from_launcher_site_shortcut:
    type: event
    description: |
      The user has opened the app using launcher website shortcut
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5547
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5839
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  browse_intent:
    type: event
    description: |
      App was opened from a browse intent.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5547
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5839
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  text_selection_intent:
    type: event
    description: |
      App was opened from a text selection intent.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5547
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5839
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  share_intent:
    type: event
    description: |
      App was opened from a share intent.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5547
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5839
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      is_search:
        description: Is the shared intent a search?
        type: boolean


add_to_home_screen:
  dialog_displayed:
    type: event
    description: The dialog for adding home screen shorcut was displayed.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5548
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5598
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  add_button_tapped:
    type: event
    description: The add(yes) option from add to home dialog was tapped.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5548
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5598
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      has_edited_title:
        description: Did the user edit the default title provided by the app?
        type: boolean
  cancel_button_tapped:
    type: event
    description: The cancel(no) option from add to home dialog was tapped.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5548
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5598
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
set_default_browser:
  from_app_settings:
    type: event
    description: |
      The user has changed default browser from the app.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5636
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5637
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      is_default:
        description: Shows if Focus was already default.
        type: boolean
  from_os_settings:
    type: event
    description: |
      The user has opened the OS settings to set default browser.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5636
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5637
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      is_default:
        description: Shows if Focus was already default.
        type: boolean
  learn_more_opened:
    type: event
    description: |
      The user has opened the learn more link.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5636
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5637
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      is_default:
        description: Shows if Focus was already default.
        type: boolean

tab_count:
  session_button_tapped:
    type: event
    description: The session button has been tapped to see session list.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5583
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5644
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      opened_tabs:
        description: Number of currently opened tabs
        type: quantity
  session_list_item_tapped:
    type: event
    description: The user has switched to a tab from the session list.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5583
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5644
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      opened_tabs:
        description: Number of currently opened tabs
        type: quantity
  session_close_others_tapped:
    type: event
    description: The user has switched to a tab from the session list.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1912955
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1912955
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      opened_tabs:
        description: Number of currently opened tabs
        type: quantity
  session_list_closed:
    type: event
    description: The user has closed the session list.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5583
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5644
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      opened_tabs:
        description: Number of currently opened tabs
        type: quantity
  erase_button_tapped:
    type: event
    description: The erease button has been tapped to close opened sessions.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5583
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5644
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      opened_tabs:
        description: Number of currently opened tabs
        type: quantity
  new_tab_opened:
    type: event
    description: A new tab has opened.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5583
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5644
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      opened_tabs:
        description: Number of currently opened tabs
        type: quantity
      source:
        description: |
          Tab opened from "custom tab", "context menu" or from "Window.open()"
        type: string
  app_backgrounded:
    type: custom_distribution
    description: Number of opened tabs when the app has been send to background.
    range_min: 0
    range_max: 50
    bucket_count: 51
    histogram_type: linear
    unit: tabs
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5583
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5793
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never

search_bar:
  entered_url:
    type: event
    description: The user has entered a full url.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5546
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5660
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  performed_search:
    type: event
    description: The user has entered text and performed a search.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5546
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5660
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      engine_name:
        description: The name of the engine used to perform the search.
        type: string

show_search_suggestions:
  enabled_from_panel:
    type: event
    description: The "yes" option from the suggestion panel has been tapped.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5840
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5858
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  disabled_from_panel:
    type: event
    description: The "no"" option from the suggestion panel has been tapped.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5840
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5858
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  changed_from_settings:
    type: event
    description: The enabled state has been changed from the settings screen.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5840
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5858
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      is_enabled:
        description: The new setting value, true for ON, false for OFF
        type: boolean

downloads:
  download_started:
    type: event
    description: A download has been started.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5650
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5663
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  download_paused:
    type: event
    description: A download has been paused.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5650
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5663
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  download_canceled:
    type: event
    description: A download has been cancelled.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5650
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5663
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  download_completed:
    type: event
    description: A download has been completed successfully.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5650
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5663
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  download_failed:
    type: event
    description: The download has failed.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5650
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5663
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      file_extension:
        description: The extension of the downloaded file.
        type: string
  open_button_tapped:
    type: event
    description: The open button from download confirmation was tapped.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5650
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5663
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      open_successful:
        description: Did the user succeed in opening the downloaded file?
        type: boolean
      file_extension:
        description: The extension of the downloaded file.
        type: string

search_engines:
  open_settings:
    type: event
    description: The user has opened the search engines settings page.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5646
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5713
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  add_engine_tapped:
    type: event
    description: The user has tapped on the add another search engine button.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5646
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5713
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  save_engine_tapped:
    type: event
    description: The user has tried to save a custom engine.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5646
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5713
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      save_successful:
        description: If the engine has been saved successfully.
        type: boolean
  set_default:
    type: event
    description: The user has set a search engine as default.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5646
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5713
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      engine_type:
        description: |
          The engine type set as default. Can be either "custom" or "bundled".
        type: string
  remove_engines:
    type: event
    description: The user has removed search engines.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5646
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5713
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      engine_count:
        description: How many search engines has the user removed
        type: quantity
  open_remove_screen:
    type: event
    description: The user has clicked the remove option from menu.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5646
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5713
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      current_engines_count:
        description: How many search engines did the user had at that point.
        type: quantity
  restore_default_engines:
    type: event
    description: The user has restored the default search engines
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5646
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5713
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      current_engines_count:
        description: How many search engines did the user had at that point.
        type: quantity
  learn_more_tapped:
    type: event
    description: The learn more button was tapped.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5646
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5713
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never

open_with:
  list_displayed:
    type: event
    description: The list of apps has been opened.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5654
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5703
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      list_size:
        description: The number of apps in the list
        type: quantity
  list_item_tapped:
    type: event
    description: The uer has opened the url with a app from the list.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5654
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5703
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      package_name:
        description: The app the user has chosen is a Mozilla product.
        type: boolean
  install_firefox:
    type: event
    description: The user has clicked install Firefox from store item.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5654
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5703
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never

crash_reporter:
  displayed:
    type: event
    description: The crash report has been displayed.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5652
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5725
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  close_report:
    type: event
    description: The crash report has been submitted.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5652
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5725
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      submit_report:
        description: Did the user choose to send the report?
        type: boolean

browser_menu:
  navigation_toolbar_action:
    type: event
    description: The user has tapped on a navigation toolbar item.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5648
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5748
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      item:
        description: |
          A string containing the name of the item the user tapped:
          back, forward, share, reload, stop
        type: string
  browser_menu_action:
    type: event
    description: The user has tapped on a browser menu item.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5648
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5748
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      item:
        description: |
          A string containing the name of the item the user tapped:
          add_to_homescreen, desktop_view_off, desktop_view_on,
          find_in_page, open_in_app, settings
        type: string

custom_tabs_toolbar:
  navigation_toolbar_action:
    type: event
    description: The user tapped on a navigation toolbar item in a custom tab.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5649
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5748
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      item:
        description: |
          A string containing the name of the item the user tapped:
          back, forward, reload, stop
        type: string
  browser_menu_action:
    type: event
    description: The user tapped on a browser menu item item in a custom tab.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5649
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5748
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      item:
        description: |
          A string containing the name of the item the user tapped:
          desktop_view_off, desktop_view_on, find_in_page, open_in_app,
          add_to_homescreen, open_in browser
        type: string
  close_tab_tapped:
    type: event
    description: The user has closed a custom tab.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5649
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5748
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  action_button_tapped:
    type: event
    description: The user has tapped the actionbutton a custom tab.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5649
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5748
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never

tracking_protection_exceptions:
  allow_list_opened:
    type: event
    description: The user has opened the exceptions list.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5753
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5758
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  allow_list_cleared:
    type: event
    description: The user has removed all items from exceptions list.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5753
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5758
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      list_size:
        description: The number of exceptions in the list.
        type: quantity
  selected_items_removed:
    type: event
    description: The user has removed the selected items from exceptions list.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5753
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5758
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      list_size:
        description: The number of selected items removed.
        type: quantity

notifications:
  open_button_tapped:
    type: event
    description: The user has tapped the Open option button from notification.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5651
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5769
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  erase_open_button_tapped:
    type: event
    description: The user has tapped the Erase & Open button from notification.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5651
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5769
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      opened_tabs:
        description: Number of currently opened tabs
        type: quantity
  notification_tapped:
    type: event
    description: The user has tapped the notification to close the app.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5651
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5769
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
  permission_granted:
    type: boolean
    description: |
      True if notifications are allowed from OS settings, otherwise false.
      Prior to Android 13, notifications were allowed by default;
      starting with Android 13,the user must explicitly grant the permission.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1803358
    data_reviews:
      - https://github.com/mozilla-mobile/firefox-android/pull/475
      - https://github.com/mozilla-mobile/firefox-android/pull/4040
    data_sensitivity:
      - technical
    notification_emails:
      - android-probes@mozilla.com
    expires: never

app_shortcuts:
  just_erase_button_tapped:
    type: event
    description: The user has tapped the Erase option button from shortcuts.
    bugs:
      - https://github.com/mozilla-mobile/focus-android/issues/5651
    data_reviews:
      - https://github.com/mozilla-mobile/focus-android/pull/5769
      - https://github.com/mozilla-mobile/focus-android/pull/7906
    data_sensitivity:
      - interaction
    notification_emails:
      - android-probes@mozilla.com
      - rtestard@mozilla.com
    expires: never
    extra_keys:
      opened_tabs:
        description: Number of currently opened tabs
        type: quantity
  erase_open_button_tapped:
    type: event
--> --------------------

--> maximum size reached

--> --------------------

[ Dauer der Verarbeitung: 0.31 Sekunden  (vorverarbeitet)  ]