diff --git a/app/metrics.yaml b/app/metrics.yaml index c31ea039d732..458b2fa4312d 100644 --- a/app/metrics.yaml +++ b/app/metrics.yaml @@ -111,7 +111,7 @@ events: preference_key: description: "The preference key for the switch preference the user toggled. We currently track: show_search_suggestions, remote_debugging, telemetry, tracking_protection, search_bookmarks, - search_browsing_history, and show_clipboard_suggestions" + search_browsing_history, show_clipboard_suggestions, and show_search_shortcuts" enabled: description: "Whether or not the preference is *now* enabled" bugs: diff --git a/app/src/main/java/org/mozilla/fenix/components/metrics/Metrics.kt b/app/src/main/java/org/mozilla/fenix/components/metrics/Metrics.kt index f406f1060347..d5cf0f200a35 100644 --- a/app/src/main/java/org/mozilla/fenix/components/metrics/Metrics.kt +++ b/app/src/main/java/org/mozilla/fenix/components/metrics/Metrics.kt @@ -137,7 +137,8 @@ sealed class Event { context.getString(R.string.pref_key_tracking_protection), context.getString(R.string.pref_key_search_bookmarks), context.getString(R.string.pref_key_search_browsing_history), - context.getString(R.string.pref_key_show_clipboard_suggestions) + context.getString(R.string.pref_key_show_clipboard_suggestions), + context.getString(R.string.pref_key_show_search_shortcuts) ) override val extras: Map?