зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1534207 Search Widget missing TELEMETRY probe for searches initiated r=petru
Added a telemetry probe (unique source value) to allow data science to measure percentage of searches initiated from the widget. Differential Revision: https://phabricator.services.mozilla.com/D22956 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
980f75a172
Коммит
4e47ed126e
|
@ -893,6 +893,7 @@ public class BrowserApp extends GeckoApp
|
|||
}
|
||||
|
||||
MmaDelegate.track(INTERACT_WITH_SEARCH_WIDGET_URL_AREA);
|
||||
Telemetry.sendUIEvent(TelemetryContract.Event.SEARCH, TelemetryContract.Method.WIDGET);
|
||||
|
||||
switch (input) {
|
||||
case TEXT:
|
||||
|
|
|
@ -198,6 +198,9 @@ Events
|
|||
``search.setdefault.1``
|
||||
Sent when the user sets a search engine to be the default.
|
||||
|
||||
``search.widget.1``
|
||||
Sent when the user initiates a search through the widget.
|
||||
|
||||
``share.1``
|
||||
Sharing content.
|
||||
|
||||
|
|
|
@ -88,6 +88,9 @@ public interface TelemetryContract {
|
|||
// Set default search engine.
|
||||
SEARCH_SET_DEFAULT("search.setdefault.1"),
|
||||
|
||||
// Searches initiated from the widget.
|
||||
SEARCH_WIDGET("search.widget.1"),
|
||||
|
||||
// Sharing content.
|
||||
SHARE("share.1"),
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче