This section describes existing telemetry probes measuring interaction with the Address Bar.
This probe tracks the amount of time it takes to get the first result. It is an exponential histogram with values between 5 and 100.
This probe tracks the amount of time it takes to get the first six results. It is an exponential histogram with values between 50 and 1000.
This probe tracks how a result was picked by the user from the list. It is a categorical histogram with these values:
enterThe user pressed Enter without selecting a result first. This most likely happens when the user confirms the default preselected result (aka heuristic result), or when they select with the keyboard a one-off search button and confirm with Enter.
enterSelectionThe user selected a result, but not using Tab or the arrow keys, and then pressed Enter. This is a rare and generally unexpected event, there may be exotic ways to select a result we didn’t consider, that are tracked here. Look at arrowEnterSelection and tabEnterSelection for more common actions.
clickThe user clicked on a result.
arrowEnterSelectionThe user selected a result using the arrow keys, and then pressed Enter.
tabEnterSelectionThe first key the user pressed to select a result was the Tab key, and then they pressed Enter. Note that this means the user could have used the arrow keys after first pressing the Tab key.
rightClickEnterBefore QuantumBar, it was possible to right-click a result to highlight but not pick it. Then the user could press Enter. This is no more possible.
This probe tracks the indexes of picked results in the results list. It’s an enumerated histogram with 17 buckets.
This probe tracks the types of picked results. It’s an enumerated histogram with 14 buckets. Values can be:
This probe tracks picked result type, for each one it tracks the index where it appeared. It’s a keyed histogram where the keys are result types (see URLBAR_SELECTED_RESULT_TYPES). For each key, this records the indexes of picked results for that result type.
The event telemetry is grouped under the
- Event Method
There are two methods to describe the interaction with the urlbar:
engagementIt is defined as a completed action in urlbar, where a user inserts text and executes one of the actions described in the Event Object.
abandonmentIt is defined as an action where the user inserts text but does not complete an engagement action, usually unfocusing the urlbar. This also happens when the user switches to another window, regardless of urlbar focus.
- Event Value
This is how the user interaction started
typed: The text was typed into the urlbar.
dropped: The text was drag and dropped into the urlbar.
pasted: The text was pasted into the urlbar.
topsites: The user opened the urlbar view without typing, dropping, or pasting. Most likely they clicked the dropdown arrow or pressed the down arrow key while the view was closed, or openViewOnFocus was active. In these cases, if the urlbar input is showing the URL of the loaded page and the user has not modified the input’s content, the urlbar views shows the user’s top sites. Otherwise, if the user had modified the input’s content, the urlbar view shows results based on what the user has typed. To tell whether top sites were shown, it’s enough to check whether value is
topsites. To know whether the user actually picked a top site, check check that
numChars== 0. If
numChars> 0, the user initially opened top sites, but then they started typing and confirmed a different result.
returned: The user abandoned a search, for example by switching to another tab/window, or focusing something else, then came back to it and continued. We consider a search continued if the user kept at least the first char of the original search string.
restarted: The user abandoned a search, for example by switching to another tab/window, or focusing something else, then came back to it, cleared it and then typed a new string.
- Event Object
These describe actions in the urlbar:
clickThe user clicked on a result.
enterThe user confirmed a result with Enter.
drop_goThe user dropped text on the input field.
paste_goThe user used Paste & Go feature. It is not the same as paste and Enter.
blurThe user unfocused the urlbar. This is only valid for
- Event Extra
This object contains additional information about the interaction. Extra is a key-value store, whhere all the keys and values are strings.
elapsedTime in milliseconds from the initial interaction to an action.
numCharsNumber of input characters the user typed or pasted at the time of submission.
selTypeThe type of the selected result at the time of submission. This is only present for
engagementevents. It can be one of:
selIndexIndex of the selected result in the urlbar panel, or -1 for no selection. There won’t be a selection when a one-off button is the only selection, and for the
drop_goobjects. There may also not be a selection if the system was busy and results arrived too late, then we directly decide whether to search or visit the given string without having a fully built result. This is only present for
Search probes relevant to the Address Bar¶
This histogram tracks search engines and Search Access Points. It is augmented by multiple SAPs, including the urlbar. It’s a keyed histogram, the keys are strings made up of search engine names and SAP names, for example
google.urlbar. For each key, this records the count of searches made using that engine and SAP. SAP names can be:
aliasThis is when using an alias (like
unknownThis is actually the searchbar, when using the current engine one-off button.
These keyed scalars track search through different SAPs, for example the urlbar is tracked by
browser.engagement.navigation.urlbar. It counts loads triggered in a subsession from the specified SAP, broken down by the originating action. Possible SAPs are:
Recorded actions may be:
searchUsed for any search from
about:newtabthis counts any search. For the other SAPs it tracks typing and then pressing Enter.
searchbar, indicates the user confirmed a search using a one-off button.
searchbar, indicates the user confirmed a search suggestion.
urlbar, indicates the user confirmed a search through an alias.
This is a legacy and disabled event telemetry that is currently under discussion for removal or modernization. It can’t be enabled through a pref. it’s more or less equivalent to browser.engagement.navigation, but can also report the picked search engine.