tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

metrics.yaml (28537B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 
      5 # Adding a new metric? We have docs for that!
      6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
      7 
      8 ---
      9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
     10 $tags:
     11  - "Core :: Machine Learning"
     12 
     13 genai.chatbot:
     14  # metrics
     15 
     16  badges:
     17    type: string
     18    lifetime: application
     19    description: >
     20      Which badges are shown in various surfaces (comma separated).
     21    bugs:
     22      - https://bugzilla.mozilla.org/show_bug.cgi?id=1974185
     23    data_reviews:
     24      - https://phabricator.services.mozilla.com/D255286
     25    data_sensitivity:
     26      - interaction
     27    expires: 154
     28    notification_emails:
     29      - elee@mozilla.com
     30    send_in_pings:
     31      - metrics
     32 
     33  enabled:
     34    type: boolean
     35    lifetime: application
     36    description: >
     37      Indicates if the chatbot feature is enabled.
     38    bugs:
     39      - https://bugzilla.mozilla.org/show_bug.cgi?id=1895813
     40    data_reviews:
     41      - https://phabricator.services.mozilla.com/D214470
     42    data_sensitivity:
     43      - interaction
     44    expires: 154
     45    notification_emails:
     46      - elee@mozilla.com
     47    send_in_pings:
     48      - metrics
     49 
     50  menu:
     51    type: boolean
     52    lifetime: application
     53    description: >
     54      Indicates if the chatbot menu is shown without provider.
     55    bugs:
     56      - https://bugzilla.mozilla.org/show_bug.cgi?id=1974185
     57    data_reviews:
     58      - https://phabricator.services.mozilla.com/D255286
     59    data_sensitivity:
     60      - interaction
     61    expires: 154
     62    notification_emails:
     63      - elee@mozilla.com
     64    send_in_pings:
     65      - metrics
     66 
     67  page:
     68    type: boolean
     69    lifetime: application
     70    description: >
     71      Indicates if the chatbot page level features are enabled.
     72    bugs:
     73      - https://bugzilla.mozilla.org/show_bug.cgi?id=1974185
     74    data_reviews:
     75      - https://phabricator.services.mozilla.com/D255286
     76    data_sensitivity:
     77      - interaction
     78    expires: 154
     79    notification_emails:
     80      - elee@mozilla.com
     81    send_in_pings:
     82      - metrics
     83 
     84  provider:
     85    type: string
     86    lifetime: application
     87    description: >
     88      Indicates id of activated chatbot provider or "custom" or "none"
     89    bugs:
     90      - https://bugzilla.mozilla.org/show_bug.cgi?id=1895813
     91    data_reviews:
     92      - https://phabricator.services.mozilla.com/D214470
     93    data_sensitivity:
     94      - interaction
     95    expires: 154
     96    notification_emails:
     97      - elee@mozilla.com
     98    send_in_pings:
     99      - metrics
    100 
    101  shortcuts:
    102    type: boolean
    103    lifetime: application
    104    description: >
    105      Indicates if the chatbot feature would show shortcuts on selection.
    106    bugs:
    107      - https://bugzilla.mozilla.org/show_bug.cgi?id=1910005
    108    data_reviews:
    109      - https://phabricator.services.mozilla.com/D217782
    110    data_sensitivity:
    111      - interaction
    112    expires: 154
    113    notification_emails:
    114      - elee@mozilla.com
    115    send_in_pings:
    116      - metrics
    117 
    118  shortcuts_custom:
    119    type: boolean
    120    lifetime: application
    121    description: >
    122      Indicates if the chatbot feature would show shortcuts custom input.
    123    bugs:
    124      - https://bugzilla.mozilla.org/show_bug.cgi?id=1910005
    125    data_reviews:
    126      - https://phabricator.services.mozilla.com/D217782
    127    data_sensitivity:
    128      - interaction
    129    expires: 154
    130    notification_emails:
    131      - elee@mozilla.com
    132    send_in_pings:
    133      - metrics
    134 
    135  sidebar:
    136    type: boolean
    137    lifetime: application
    138    description: >
    139      Indicates if the chatbot feature would open in sidebar.
    140    bugs:
    141      - https://bugzilla.mozilla.org/show_bug.cgi?id=1895813
    142    data_reviews:
    143      - https://phabricator.services.mozilla.com/D214470
    144    data_sensitivity:
    145      - interaction
    146    expires: 154
    147    notification_emails:
    148      - elee@mozilla.com
    149    send_in_pings:
    150      - metrics
    151 
    152  # events
    153 
    154  contextmenu_choose:
    155    type: event
    156    description: >
    157      Choose/open chatbot provider was clicked from the context menu.
    158    bugs:
    159      - https://bugzilla.mozilla.org/show_bug.cgi?id=1974185
    160    data_reviews:
    161      - https://phabricator.services.mozilla.com/D255286
    162    data_sensitivity:
    163      - interaction
    164    expires: 154
    165    notification_emails:
    166      - elee@mozilla.com
    167    send_in_pings:
    168      - events
    169    extra_keys:
    170      provider:
    171        type: string
    172        description: Current provider id.
    173 
    174  contextmenu_prompt_click:
    175    type: event
    176    description: >
    177      Chatbot prompt was clicked from the context menu.
    178    bugs:
    179      - https://bugzilla.mozilla.org/show_bug.cgi?id=1895813
    180    data_reviews:
    181      - https://phabricator.services.mozilla.com/D214470
    182    data_sensitivity:
    183      - interaction
    184    expires: 154
    185    notification_emails:
    186      - elee@mozilla.com
    187    send_in_pings:
    188      - events
    189    extra_keys:
    190      prompt:
    191        type: string
    192        description: Selected prompt id.
    193      provider:
    194        type: string
    195        description: Selected provider id.
    196      selection:
    197        type: quantity
    198        description: Selected text length.
    199 
    200  contextmenu_remove:
    201    type: event
    202    description: >
    203      Chatbot provider was removed from the context menu.
    204    bugs:
    205      - https://bugzilla.mozilla.org/show_bug.cgi?id=1946099
    206    data_reviews:
    207      - https://phabricator.services.mozilla.com/D237127
    208    data_sensitivity:
    209      - interaction
    210    expires: 154
    211    notification_emails:
    212      - elee@mozilla.com
    213    send_in_pings:
    214      - events
    215    extra_keys:
    216      provider:
    217        type: string
    218        description: Removed provider id.
    219 
    220  experiment_checkbox_click:
    221    type: event
    222    description: >
    223      Chatbot experiment checkbox was clicked to enable/disable.
    224    bugs:
    225      - https://bugzilla.mozilla.org/show_bug.cgi?id=1895813
    226    data_reviews:
    227      - https://phabricator.services.mozilla.com/D214470
    228    data_sensitivity:
    229      - interaction
    230    expires: 154
    231    notification_emails:
    232      - elee@mozilla.com
    233    send_in_pings:
    234      - events
    235    extra_keys:
    236      enabled:
    237        type: boolean
    238        description: New/current state is enabled.
    239 
    240  keyboard_shortcut:
    241    type: event
    242    description: >
    243      Chatbot sidebar toggled with keyboard shortcut.
    244    bugs:
    245      - https://bugzilla.mozilla.org/show_bug.cgi?id=1905027
    246    data_reviews:
    247      - https://phabricator.services.mozilla.com/D226205
    248    data_sensitivity:
    249      - interaction
    250    expires: 154
    251    notification_emails:
    252      - elee@mozilla.com
    253    send_in_pings:
    254      - events
    255    extra_keys:
    256      enabled:
    257        type: boolean
    258        description: Chatbot was already enabled.
    259      sidebar:
    260        type: string
    261        description: Sidebar is currently open.
    262 
    263  length_disclaimer:
    264    type: event
    265    description: >
    266      Warning message for length disclaimer is shown.
    267    bugs:
    268      - https://bugzilla.mozilla.org/show_bug.cgi?id=1980228
    269    data_reviews:
    270      - https://phabricator.services.mozilla.com/D260463
    271    data_sensitivity:
    272      - interaction
    273    expires: 154
    274    notification_emails:
    275      - elee@mozilla.com
    276    send_in_pings:
    277      - events
    278    extra_keys:
    279      type:
    280        type: string
    281        description: Content scope.
    282      length:
    283        type: quantity
    284        description: Page content length.
    285      provider:
    286        type: string
    287        description: Current provider id.
    288 
    289  length_disclaimer_dismissed:
    290    type: event
    291    description: >
    292      Warning message is dismissed.
    293    bugs:
    294      - https://bugzilla.mozilla.org/show_bug.cgi?id=1980228
    295    data_reviews:
    296      - https://phabricator.services.mozilla.com/D260463
    297    data_sensitivity:
    298      - interaction
    299    expires: 154
    300    notification_emails:
    301      - elee@mozilla.com
    302    send_in_pings:
    303      - events
    304    extra_keys:
    305      type:
    306        type: string
    307        description: Content scope.
    308      provider:
    309        type: string
    310        description: Current provider id.
    311 
    312  onboarding_close:
    313    type: event
    314    description: >
    315      Chatbot onboarding closed from provider choice.
    316    bugs:
    317      - https://bugzilla.mozilla.org/show_bug.cgi?id=1911104
    318    data_reviews:
    319      - https://phabricator.services.mozilla.com/D223938
    320    data_sensitivity:
    321      - interaction
    322    expires: 154
    323    notification_emails:
    324      - elee@mozilla.com
    325    send_in_pings:
    326      - events
    327    extra_keys:
    328      provider:
    329        type: string
    330        description: Which provider was last selected.
    331      step:
    332        type: quantity
    333        description: Onboarding screen number.
    334 
    335  onboarding_finish:
    336    type: event
    337    description: >
    338      Chatbot onboarding finished with start chatting button.
    339    bugs:
    340      - https://bugzilla.mozilla.org/show_bug.cgi?id=1911104
    341    data_reviews:
    342      - https://phabricator.services.mozilla.com/D223938
    343    data_sensitivity:
    344      - interaction
    345    expires: 154
    346    notification_emails:
    347      - elee@mozilla.com
    348    send_in_pings:
    349      - events
    350    extra_keys:
    351      provider:
    352        type: string
    353        description: Which provider was last selected.
    354      step:
    355        type: quantity
    356        description: Onboarding screen number.
    357 
    358  onboarding_learn_more:
    359    type: event
    360    description: >
    361      Chatbot onboarding opened feature learn more link.
    362    bugs:
    363      - https://bugzilla.mozilla.org/show_bug.cgi?id=1911104
    364    data_reviews:
    365      - https://phabricator.services.mozilla.com/D223938
    366    data_sensitivity:
    367      - interaction
    368    expires: 154
    369    notification_emails:
    370      - elee@mozilla.com
    371    send_in_pings:
    372      - events
    373    extra_keys:
    374      provider:
    375        type: string
    376        description: Which provider was last selected.
    377      step:
    378        type: quantity
    379        description: Onboarding screen number.
    380 
    381  onboarding_provider_choice_displayed:
    382    type: event
    383    description: >
    384      Chatbot onboarding impression for provider choice screen.
    385    bugs:
    386      - https://bugzilla.mozilla.org/show_bug.cgi?id=1911104
    387    data_reviews:
    388      - https://phabricator.services.mozilla.com/D223938
    389    data_sensitivity:
    390      - interaction
    391    expires: 154
    392    notification_emails:
    393      - elee@mozilla.com
    394    send_in_pings:
    395      - events
    396    extra_keys:
    397      provider:
    398        type: string
    399        description: Current provider id.
    400      step:
    401        type: quantity
    402        description: Onboarding screen number.
    403 
    404  onboarding_provider_selection:
    405    type: event
    406    description: >
    407      Chatbot onboarding selected a provider.
    408    bugs:
    409      - https://bugzilla.mozilla.org/show_bug.cgi?id=1911104
    410    data_reviews:
    411      - https://phabricator.services.mozilla.com/D223938
    412    data_sensitivity:
    413      - interaction
    414    expires: 154
    415    notification_emails:
    416      - elee@mozilla.com
    417    send_in_pings:
    418      - events
    419    extra_keys:
    420      provider:
    421        type: string
    422        description: Which provider.
    423      step:
    424        type: quantity
    425        description: Onboarding screen number.
    426 
    427  onboarding_provider_terms:
    428    type: event
    429    description: >
    430      Chatbot onboarding opened provider terms link.
    431    bugs:
    432      - https://bugzilla.mozilla.org/show_bug.cgi?id=1911104
    433    data_reviews:
    434      - https://phabricator.services.mozilla.com/D223938
    435    data_sensitivity:
    436      - interaction
    437    expires: 154
    438    notification_emails:
    439      - elee@mozilla.com
    440    send_in_pings:
    441      - events
    442    extra_keys:
    443      provider:
    444        type: string
    445        description: Which provider.
    446      step:
    447        type: quantity
    448        description: Onboarding screen number.
    449      text:
    450        type: string
    451        description: Which terms link.
    452 
    453  prompt_click:
    454    type: event
    455    description: >
    456      Chatbot prompt requested.
    457    bugs:
    458      - https://bugzilla.mozilla.org/show_bug.cgi?id=1974185
    459    data_reviews:
    460      - https://phabricator.services.mozilla.com/D255286
    461    data_sensitivity:
    462      - interaction
    463    expires: 154
    464    notification_emails:
    465      - elee@mozilla.com
    466    send_in_pings:
    467      - events
    468    extra_keys:
    469      content_type:
    470        type: string
    471        description: Type of content, e.g., page, selection.
    472      prompt:
    473        type: string
    474        description: Selected prompt id.
    475      provider:
    476        type: string
    477        description: Selected provider id.
    478      reader_mode:
    479        type: boolean
    480        description: Whether reader mode text was used.
    481      selection:
    482        type: quantity
    483        description: Page content length.
    484      source:
    485        type: string
    486        description: Entrypoint for the request, e.g., callout, footer, page.
    487 
    488  provider_change:
    489    type: event
    490    description: >
    491      Chatbot provider UI changed providers.
    492    bugs:
    493      - https://bugzilla.mozilla.org/show_bug.cgi?id=1895813
    494    data_reviews:
    495      - https://phabricator.services.mozilla.com/D214470
    496    data_sensitivity:
    497      - interaction
    498    expires: 154
    499    notification_emails:
    500      - elee@mozilla.com
    501    send_in_pings:
    502      - events
    503    extra_keys:
    504      current:
    505        type: string
    506        description: Current provider id.
    507      previous:
    508        type: string
    509        description: Previous provider id.
    510      surface:
    511        type: string
    512        description: Which UI surface.
    513 
    514  shortcuts_checkbox_click:
    515    type: event
    516    description: >
    517      Chatbot shortcuts checkbox was clicked to enable/disable.
    518    bugs:
    519      - https://bugzilla.mozilla.org/show_bug.cgi?id=1910005
    520    data_reviews:
    521      - https://phabricator.services.mozilla.com/D217782
    522    data_sensitivity:
    523      - interaction
    524    expires: 154
    525    notification_emails:
    526      - elee@mozilla.com
    527    send_in_pings:
    528      - events
    529    extra_keys:
    530      enabled:
    531        type: boolean
    532        description: New/current state is enabled.
    533 
    534  shortcuts_displayed:
    535    type: event
    536    description: >
    537      Shortcuts displayed on text selection.
    538    bugs:
    539      - https://bugzilla.mozilla.org/show_bug.cgi?id=1910005
    540    data_reviews:
    541      - https://phabricator.services.mozilla.com/D217782
    542    data_sensitivity:
    543      - interaction
    544    expires: 154
    545    notification_emails:
    546      - elee@mozilla.com
    547    send_in_pings:
    548      - events
    549    extra_keys:
    550      delay:
    551        type: quantity
    552        description: Milliseconds from mousedown to showing.
    553      inputType:
    554        type: string
    555        description: Type if user can edit, e.g., contenteditable, input, textarea.
    556      selection:
    557        type: quantity
    558        description: Selected text length.
    559 
    560  shortcuts_expanded:
    561    type: event
    562    description: >
    563      Shortcuts expanded to show prompts.
    564    bugs:
    565      - https://bugzilla.mozilla.org/show_bug.cgi?id=1910005
    566      - https://bugzilla.mozilla.org/show_bug.cgi?id=1922379
    567    data_reviews:
    568      - https://phabricator.services.mozilla.com/D217782
    569      - https://phabricator.services.mozilla.com/D225895
    570    data_sensitivity:
    571      - interaction
    572    expires: 154
    573    notification_emails:
    574      - elee@mozilla.com
    575    send_in_pings:
    576      - events
    577    extra_keys:
    578      selection:
    579        type: quantity
    580        description: Selected text length.
    581      provider:
    582        type: string
    583        description: Selected provider id.
    584      warning:
    585        type: boolean
    586        description: Warning label is shown to the user.
    587 
    588  shortcuts_hide_click:
    589    type: event
    590    description: >
    591      Chatbot hide shortcuts was clicked from the shortcuts.
    592    bugs:
    593      - https://bugzilla.mozilla.org/show_bug.cgi?id=1911104
    594    data_reviews:
    595      - https://phabricator.services.mozilla.com/D223938
    596    data_sensitivity:
    597      - interaction
    598    expires: 154
    599    notification_emails:
    600      - elee@mozilla.com
    601    send_in_pings:
    602      - events
    603    extra_keys:
    604      selection:
    605        type: quantity
    606        description: Selected text length.
    607 
    608  shortcuts_prompt_click:
    609    type: event
    610    description: >
    611      Chatbot prompt was clicked from the shortcuts.
    612    bugs:
    613      - https://bugzilla.mozilla.org/show_bug.cgi?id=1910005
    614    data_reviews:
    615      - https://phabricator.services.mozilla.com/D217782
    616    data_sensitivity:
    617      - interaction
    618    expires: 154
    619    notification_emails:
    620      - elee@mozilla.com
    621    send_in_pings:
    622      - events
    623    extra_keys:
    624      prompt:
    625        type: string
    626        description: Selected prompt id.
    627      provider:
    628        type: string
    629        description: Selected provider id.
    630      selection:
    631        type: quantity
    632        description: Selected text length.
    633 
    634  sidebar_close_click:
    635    type: event
    636    description: >
    637      Chatbot close X clicked.
    638    bugs:
    639      - https://bugzilla.mozilla.org/show_bug.cgi?id=1911104
    640    data_reviews:
    641      - https://phabricator.services.mozilla.com/D223938
    642    data_sensitivity:
    643      - interaction
    644    expires: 154
    645    notification_emails:
    646      - elee@mozilla.com
    647    send_in_pings:
    648      - events
    649    extra_keys:
    650      provider:
    651        type: string
    652        description: Selected provider id.
    653 
    654  sidebar_more_menu_click:
    655    type: event
    656    description: >
    657      Chatbot more menu clicked an action.
    658    bugs:
    659      - https://bugzilla.mozilla.org/show_bug.cgi?id=1911104
    660    data_reviews:
    661      - https://phabricator.services.mozilla.com/D223938
    662    data_sensitivity:
    663      - interaction
    664    expires: 154
    665    notification_emails:
    666      - elee@mozilla.com
    667    send_in_pings:
    668      - events
    669    extra_keys:
    670      action:
    671        type: string
    672        description: Which action was clicked.
    673      provider:
    674        type: string
    675        description: Selected provider id.
    676 
    677  sidebar_more_menu_display:
    678    type: event
    679    description: >
    680      Chatbot more menu opened.
    681    bugs:
    682      - https://bugzilla.mozilla.org/show_bug.cgi?id=1911104
    683    data_reviews:
    684      - https://phabricator.services.mozilla.com/D223938
    685    data_sensitivity:
    686      - interaction
    687    expires: 154
    688    notification_emails:
    689      - elee@mozilla.com
    690    send_in_pings:
    691      - events
    692    extra_keys:
    693      provider:
    694        type: string
    695        description: Selected provider id.
    696 
    697  sidebar_provider_menu_click:
    698    type: event
    699    description: >
    700      Chatbot provider menu clicked an action.
    701    bugs:
    702      - https://bugzilla.mozilla.org/show_bug.cgi?id=1911104
    703    data_reviews:
    704      - https://phabricator.services.mozilla.com/D223938
    705    data_sensitivity:
    706      - interaction
    707    expires: 154
    708    notification_emails:
    709      - elee@mozilla.com
    710    send_in_pings:
    711      - events
    712    extra_keys:
    713      action:
    714        type: string
    715        description: Which action was clicked.
    716      provider:
    717        type: string
    718        description: Selected provider id.
    719 
    720  sidebar_toggle:
    721    type: event
    722    description: >
    723      Chatbot sidebar panel was toggled open/close.
    724    bugs:
    725      - https://bugzilla.mozilla.org/show_bug.cgi?id=1895813
    726    data_reviews:
    727      - https://phabricator.services.mozilla.com/D214470
    728    data_sensitivity:
    729      - interaction
    730    expires: 154
    731    notification_emails:
    732      - elee@mozilla.com
    733    send_in_pings:
    734      - events
    735    extra_keys:
    736      opened:
    737        type: boolean
    738        description: New/current state of sidebar is open.
    739      provider:
    740        type: string
    741        description: Selected provider id.
    742      reason:
    743        type: string
    744        description: Why panel is toggling.
    745      version:
    746        type: string
    747        description: The active version of sidebar (either "old" or "new").
    748 
    749  summarize_page:
    750    type: event
    751    description: >
    752      Chatbot page summarization was requested.
    753    bugs:
    754      - https://bugzilla.mozilla.org/show_bug.cgi?id=1974185
    755    data_reviews:
    756      - https://phabricator.services.mozilla.com/D255286
    757    data_sensitivity:
    758      - interaction
    759    expires: 154
    760    notification_emails:
    761      - elee@mozilla.com
    762    send_in_pings:
    763      - events
    764    extra_keys:
    765      provider:
    766        type: string
    767        description: Selected provider id.
    768      reader_mode:
    769        type: boolean
    770        description: Whether reader mode text was used.
    771      selection:
    772        type: quantity
    773        description: Page content length.
    774      source:
    775        type: string
    776        description: Entrypoint for the request, e.g., callout, footer, page.
    777 
    778 genai.linkpreview:
    779  # metrics
    780 
    781  ai_optin:
    782    type: boolean
    783    lifetime: application
    784    description: >
    785      Records if the user has opted-in to use AI for key points generation
    786    bugs:
    787      - https://bugzilla.mozilla.org/show_bug.cgi?id=1969012
    788    data_reviews:
    789      - https://phabricator.services.mozilla.com/D251779
    790    data_sensitivity:
    791      - interaction
    792    expires: 150
    793    notification_emails:
    794      - elee@mozilla.com
    795    send_in_pings:
    796      - metrics
    797 
    798  enabled:
    799    type: boolean
    800    lifetime: application
    801    description: >
    802      Records if the user has link previews enabled
    803    bugs:
    804      - https://bugzilla.mozilla.org/show_bug.cgi?id=1951148
    805    data_reviews:
    806      - https://phabricator.services.mozilla.com/D243790
    807    data_sensitivity:
    808      - interaction
    809    expires: 150
    810    notification_emails:
    811      - elee@mozilla.com
    812    send_in_pings:
    813      - metrics
    814 
    815  key_points:
    816    type: boolean
    817    lifetime: application
    818    description: >
    819      Records if the user defaults to expanded state for key point generation
    820    bugs:
    821      - https://bugzilla.mozilla.org/show_bug.cgi?id=1969012
    822    data_reviews:
    823      - https://phabricator.services.mozilla.com/D251779
    824    data_sensitivity:
    825      - interaction
    826    expires: 150
    827    notification_emails:
    828      - elee@mozilla.com
    829    send_in_pings:
    830      - metrics
    831 
    832  shortcut:
    833    type: string
    834    lifetime: application
    835    description: >
    836      Records which type of shortcut the user selected for Link Previews (comma separated if more than one)
    837    bugs:
    838      - https://bugzilla.mozilla.org/show_bug.cgi?id=1969012
    839    data_reviews:
    840      - https://phabricator.services.mozilla.com/D251779
    841    data_sensitivity:
    842      - interaction
    843    expires: 150
    844    notification_emails:
    845      - elee@mozilla.com
    846    send_in_pings:
    847      - metrics
    848 
    849  # events
    850 
    851  card_ai_consent:
    852    type: event
    853    description: >
    854      Recorded when the user interacts with the AI consent dialog
    855    bugs:
    856      - https://bugzilla.mozilla.org/show_bug.cgi?id=1951146
    857    data_reviews:
    858      - https://phabricator.services.mozilla.com/D249104
    859    data_sensitivity:
    860      - interaction
    861    expires: 150
    862    notification_emails:
    863      - elee@mozilla.com
    864    send_in_pings:
    865      - events
    866    extra_keys:
    867      option:
    868        type: string
    869        description: User's response - cancel, continue, or learn
    870 
    871  card_close:
    872    type: event
    873    description: >
    874      Recorded when the user closes the card
    875    bugs:
    876      - https://bugzilla.mozilla.org/show_bug.cgi?id=1951148
    877    data_reviews:
    878      - https://phabricator.services.mozilla.com/D243790
    879    data_sensitivity:
    880      - interaction
    881    expires: 150
    882    notification_emails:
    883      - elee@mozilla.com
    884    send_in_pings:
    885      - events
    886    extra_keys:
    887      duration:
    888        type: quantity
    889        description: Milliseconds the card stayed open
    890      tab:
    891        type: string
    892        description: The type of tab where the event occurred. Potential values home, newtab
    893 
    894  card_link:
    895    type: event
    896    description: >
    897      Recorded when the user clicks on a link from the card
    898    bugs:
    899      - https://bugzilla.mozilla.org/show_bug.cgi?id=1951148
    900    data_reviews:
    901      - https://phabricator.services.mozilla.com/D243790
    902    data_sensitivity:
    903      - interaction
    904    expires: 150
    905    notification_emails:
    906      - elee@mozilla.com
    907    send_in_pings:
    908      - events
    909    extra_keys:
    910      key_points:
    911        type: boolean
    912        description: Whether key points were visible when the link was clicked.
    913      source:
    914        type: string
    915        description: Which link, e.g., error, retry, title, visit
    916      tab:
    917        type: string
    918        description: The type of tab where the event occurred. Potential values home, newtab
    919 
    920  fetch:
    921    type: event
    922    description: >
    923      Recorded when the browser fetches the page to be previewed
    924    bugs:
    925      - https://bugzilla.mozilla.org/show_bug.cgi?id=1951148
    926    data_reviews:
    927      - https://phabricator.services.mozilla.com/D243790
    928    data_sensitivity:
    929      - interaction
    930    expires: 150
    931    notification_emails:
    932      - elee@mozilla.com
    933    send_in_pings:
    934      - events
    935    extra_keys:
    936      description:
    937        type: boolean
    938        description: Description detected
    939      image:
    940        type: boolean
    941        description: Image detected
    942      length:
    943        type: quantity
    944        description: Length of the article
    945      outcome:
    946        type: string
    947        description: success or error
    948      sitename:
    949        type: boolean
    950        description: Site name detected
    951      skipped:
    952        type: boolean
    953        description: Skipped for newer fetch
    954      tab:
    955        type: string
    956        description: The type of tab where the event occurred. Potential values home, newtab
    957      time:
    958        type: quantity
    959        description: Milliseconds to fetch and extract page
    960      title:
    961        type: boolean
    962        description: Title detected
    963 
    964  generate:
    965    type: event
    966    description: >
    967      Recorded when the model finishes generating the preview
    968    bugs:
    969      - https://bugzilla.mozilla.org/show_bug.cgi?id=1951148
    970    data_reviews:
    971      - https://phabricator.services.mozilla.com/D243790
    972    data_sensitivity:
    973      - interaction
    974    expires: 150
    975    notification_emails:
    976      - elee@mozilla.com
    977    send_in_pings:
    978      - events
    979    extra_keys:
    980      delay:
    981        type: quantity
    982        description: Milliseconds waiting on previous
    983      download:
    984        type: quantity
    985        description: Milliseconds to finish download
    986      latency:
    987        type: quantity
    988        description: Milliseconds to output first sentence
    989      outcome:
    990        type: string
    991        description: success or prefetch or error
    992      sentences:
    993        type: quantity
    994        description: Number of sentences generated
    995      time:
    996        type: quantity
    997        description: Milliseconds to generate full result
    998 
    999  key_points_toggle:
   1000    type: event
   1001    description: >
   1002      Recorded when the user toggles the key points section
   1003    bugs:
   1004      - https://bugzilla.mozilla.org/show_bug.cgi?id=1961215
   1005    data_reviews:
   1006      - https://phabricator.services.mozilla.com/D249851
   1007    data_sensitivity:
   1008      - interaction
   1009    expires: 150
   1010    notification_emails:
   1011      - elee@mozilla.com
   1012    send_in_pings:
   1013      - events
   1014    extra_keys:
   1015      expand:
   1016        type: boolean
   1017        description: Link preview card is expanded
   1018 
   1019  onboarding_card:
   1020    type: event
   1021    description: >
   1022      Recorded when the link preview onboarding is displayed and how the user interacts with it.
   1023    bugs:
   1024      - https://bugzilla.mozilla.org/show_bug.cgi?id=1961212
   1025    data_reviews:
   1026      - https://phabricator.services.mozilla.com/D249855
   1027    data_sensitivity:
   1028      - interaction
   1029    expires: 150
   1030    notification_emails:
   1031      - elee@mozilla.com
   1032    send_in_pings:
   1033      - events
   1034    extra_keys:
   1035      action:
   1036        type: string
   1037        description: User's action on the dialogue - "view" (impression), "try_it_now", "close"
   1038      type:
   1039        type: string
   1040        description: The type of onboarding trigger, e.g. "longPress" or "shiftKey".
   1041 
   1042  pref_changed:
   1043    type: event
   1044    description: >
   1045      Recorded when the user toggles prefs
   1046    bugs:
   1047      - https://bugzilla.mozilla.org/show_bug.cgi?id=1951148
   1048      - https://bugzilla.mozilla.org/show_bug.cgi?id=1969012
   1049    data_reviews:
   1050      - https://phabricator.services.mozilla.com/D243790
   1051      - https://phabricator.services.mozilla.com/D251779
   1052    data_sensitivity:
   1053      - interaction
   1054    expires: 150
   1055    notification_emails:
   1056      - elee@mozilla.com
   1057    send_in_pings:
   1058      - events
   1059    extra_keys:
   1060      enabled:
   1061        type: boolean
   1062        description: New/current state is enabled
   1063      pref:
   1064        type: string
   1065        description: Which checkbox was clicked. Potential values link_previews, key_points, shift, shift_option, long_press
   1066 
   1067  start:
   1068    type: event
   1069    description: >
   1070      Recorded when the user initiates a link preview
   1071    bugs:
   1072      - https://bugzilla.mozilla.org/show_bug.cgi?id=1951148
   1073    data_reviews:
   1074      - https://phabricator.services.mozilla.com/D243790
   1075    data_sensitivity:
   1076      - interaction
   1077    expires: 150
   1078    notification_emails:
   1079      - elee@mozilla.com
   1080    send_in_pings:
   1081      - events
   1082    extra_keys:
   1083      cached:
   1084        type: boolean
   1085        description: Reusing existing panel
   1086      source:
   1087        type: string
   1088        description: Entrypoint shortcut (longpress, shift, shift-alt), context, onboarding
   1089      tab:
   1090        type: string
   1091        description: The type of tab where the event occurred. Potential values home, newtab