Closed Bug 2085959 Opened 27 days ago Closed 22 days ago

Record whether a New Tab widget is pinned to Home in widget telemetry

Categories

(Firefox :: New Tab Page, task)

task

Tracking

()

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: jbrown, Assigned: jbrown)

References

Details

(Whiteboard: [hnt])

Attachments

(1 external file)

Bug 2085958 lets users pin widgets to the Home space while every other widget stays in a separate Widgets space. To compare how widgets do in each place, the existing widget telemetry needs to say where a widget was when it was seen or used. Moving a widget off Home also leaves it turned on, so it must not be recorded as widgets_enabled with enabled: false.

Proposed, reusing the existing generic widget telemetry:

  • New boolean extra key on_home on newtab.widgets_impression and newtab.widgets_user_event. Set only in layouts where users pin widgets to Home (a thematic spaces config with a widgetLibrary space) and left out everywhere else.
  • Pinning a widget or moving it back records newtab.widgets_user_event with the user_action as add_to_home or remove_from_home.
  • "Hide widgets" on Home records newtab.widgets_container_action with action_type as remove_all_from_home.
  • Turning a widget off in the Widgets space or in Manage widgets keeps recording newtab.widgets_enabled, unchanged. Turning off a pinned widget unpins it without a separate remove_from_home event.
Attachment #9668295 - Attachment description: WIP: Bug 2085959 - Record whether a New Tab widget is pinned to Home. r?#home-newtab-reviewers-rotation,#data-stewards → Bug 2085959 - Record whether a New Tab widget is pinned to Home. r?maxx,ini,#data-stewards
Attachment #9668295 - Attachment description: Bug 2085959 - Record whether a New Tab widget is pinned to Home. r?maxx,ini,#data-stewards → Bug 2085959 - Record where New Tab widgets render and which are pinned to Home. r?maxx,ini,#data-stewards
Status: NEW → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
QA Whiteboard: [qa-triage-done-c162/b161]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: