commit d2caa0fd8edebda755a2e14c11cd2c02253d1ae9
parent 1698007baa61d4c4c742a658c95a690e87f2cc61
Author: Daisuke Akatsuka <daisuke@birchill.co.jp>
Date: Tue, 28 Oct 2025 22:09:20 +0000
Bug 1994593: Remove quick_suggest_contextual_opt_in telemetry probe r=adw
Differential Revision: https://phabricator.services.mozilla.com/D270401
Diffstat:
2 files changed, 0 insertions(+), 42 deletions(-)
diff --git a/browser/components/urlbar/UrlbarProviderQuickSuggestContextualOptIn.sys.mjs b/browser/components/urlbar/UrlbarProviderQuickSuggestContextualOptIn.sys.mjs
@@ -282,8 +282,6 @@ export class UrlbarProviderQuickSuggestContextualOptIn extends UrlbarProvider {
return;
}
- this._recordGlean(commandName);
-
// Remove the result if it shouldn't be active anymore due to above
// actions.
if (!this.#shouldDisplayContextualOptIn()) {
@@ -346,12 +344,6 @@ export class UrlbarProviderQuickSuggestContextualOptIn extends UrlbarProvider {
},
});
addCallback(this, result);
-
- this._recordGlean("impression");
- }
-
- _recordGlean(interaction) {
- Glean.urlbar.quickSuggestContextualOptIn.record({ interaction });
}
}
diff --git a/browser/components/urlbar/metrics.yaml b/browser/components/urlbar/metrics.yaml
@@ -763,40 +763,6 @@ urlbar:
send_in_pings:
- urlbar-keyword-exposure
- quick_suggest_contextual_opt_in:
- type: event
- description: >
- Recorded when the contextual opt-in UI is shown or interacted with.
- extra_keys:
- interaction:
- description: >
- The type of interaction. Possible values: `impression`, `dismiss`,
- `allow`, `learn_more`.
- type: string
- top_position:
- description: >
- Whether the opt-in result appeared at the very top of results or at
- the bottom, after one-off buttons.
- type: boolean
- say_hello:
- description: >
- Whether the alternative copy was used for the opt-in result.
- type: boolean
- bugs:
- - https://bugzilla.mozilla.org/show_bug.cgi?id=1852058
- - https://bugzilla.mozilla.org/show_bug.cgi?id=1958147
- data_reviews:
- - https://bugzilla.mozilla.org/show_bug.cgi?id=1852058#c2
- - https://bugzilla.mozilla.org/show_bug.cgi?id=1866204#c8
- - https://bugzilla.mozilla.org/show_bug.cgi?id=1892377#c2
- - https://bugzilla.mozilla.org/show_bug.cgi?id=1912174#c8
- - https://bugzilla.mozilla.org/show_bug.cgi?id=1933863#c5
- data_sensitivity:
- - interaction
- notification_emails:
- - fx-search-telemetry@mozilla.com
- expires: 147
-
pref_max_results:
lifetime: application
type: quantity