The BrowserUsageTelemetry.jsm module is the main module for measurements regarding the browser usage (e.g. tab and window counts, search counts, ...).
The measurements recording begins right after the
SessionStore has finished restoring the session (i.e. restoring tabs/windows after Firefox starts).
This module exposes the
recordSearch method, which serves as the main entry point for recording search related Telemetry. It records only the search counts per engine and the origin of the search, but nothing pertaining the search contents themselves.
As the transition to the
BrowserUsageTelemetry happens, the
recordSearch calls are dispatched through BrowserSearch.recordSearchInTelemetry, that is called by all the search related UI components (urlbar, searchbar, context menu and about:* pages).
A list of the components recording search Telemetry can be found using the following DXR search.
The usage telemetry module currently measures these interactions with the browser:
Please see Scalars.yaml for the full list of tracked interactions.