Closed Bug 1917992 Opened 4 months ago Closed 4 months ago

Add telemetry for search restrict keywords

Categories

(Firefox :: Address Bar, task, P2)

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: mcheang, Assigned: mcheang)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
Blocks: 1893749

Can you please also add some details for qa in regards to the added telemetry once this is done?

Flags: needinfo?(mcheang)

Hi Adrian, thanks! I'll add some steps below for testing, let me know if you have any questions.

When the user types @ and selects one of the restrict results, the scalar telemetry will be recorded:

  • urlbar.picked.restrict_keyword_tabs
  • urlbar.picked.restrict_keyword_bookmarks
  • urlbar.picked.restrict_keyword_history
  • urlbar.picked.restrict_keyword_actions

For example, we can select the tabs result in multiple ways for the telemetry to be recorded:

  • type@ and click on tabs result
  • type@ and arrow down to tabs result and press enter
  • type partial keyword @t and press enter to autofill
  • type partial keyword @t and press tab and then enter

When the user types @ and does not select one of the restrict results, the glean abandonment will be recorded:

    groups:
      "general,general,general,general,general,general,restrict_keyword,restrict_keyword,restrict_keyword,restrict_keyword",
    results:
      "search_engine,search_engine,search_engine,search_engine,search_engine,search_engine,restrict_keyword_bookmarks,restrict_keyword_tabs,restrict_keyword_history,restrict_keyword_actions",

When the user types @ and does select one of the restrict results, the glean engagement will be recorded:

    groups:
      "general,general,general,general,general,general,restrict_keyword,restrict_keyword,restrict_keyword,restrict_keyword",
    results:
       "search_engine,search_engine,search_engine,search_engine,search_engine,search_engine,restrict_keyword_bookmarks,restrict_keyword_tabs,restrict_keyword_history,restrict_keyword_actions",
    selected_result: `restrict_keyword_${category}`,

For the selected_result in engagement telemetry, the category variable will be tabs, bookmarks, history, or actions.

Flags: needinfo?(mcheang)
Pushed by mcheang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1e3fb966ffb1 Add scalar telemetry for picked restrict keyword result and glean telemetry for abandonment and engagement. r=mak,urlbar-reviewers
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
See Also: → 1921072
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: