Closed Bug 1634564 Opened 3 years ago Closed 2 years ago

Record Search Engine Result Page loads as a result of a reload or a back-button press

Categories

(Firefox :: Search, task, P3)

task
Points:
5

Tracking

()

VERIFIED FIXED
89 Branch
Iteration:
89.1 - Mar 22 - Apr 4
Tracking Status
firefox89 --- fixed

People

(Reporter: bmiroglio, Assigned: standard8)

References

Details

Attachments

(3 files)

We need to flesh out the specifics in more detail, but I'd like to start tracking back button presses and reload events that load a Search Engine Result Page (SERP).

We track tagged_sap searches by parsing the URL. This means the field increments everytime the page is reloaded, or if a back button press leads the user back to the SERP. tagged_sap is always higher than sap, and suspect this is why. We'd like to know for sure.

My thought was this could be a keyedScalar of the form:

serp_page_reloads
Description: Measures the number of times a SERP page is reloaded by either a page reload or (probably more commonly) a back button press.
Keys:
‘reload_shortcut’ (CMD+R)
‘reload_click’
‘back_button_shortcut’ (backspace)
‘back_button_click’

This will help explain why sap and tagged_sap do not match, since tagged_sap searches increment with reloads of a page while sap searches do not. Also gives more visibility into how a user is navigating search results if they don’t find what they want on the first click.

Blocks: 1632232
Type: enhancement → task
Product: bugzilla.mozilla.org → Firefox
Priority: -- → P3
Severity: -- → S3
Points: --- → 5
Assignee: nobody → standard8
Status: NEW → ASSIGNED
Iteration: --- → 88.2 - Mar 8 - Mar 21

For this bug, we have decided to do the following:

  • Rework the SERP counts currently logged in SEARCH_COUNTS to break them down by the source of the SERP. Currently, this would be urlbar, search bar etc. These will be via keyed scalars, similar to the browser.search.withads.* scalars.
  • Add two new categories, reload and tabhistory. The first is for tracking page reloads. The second is for tracking if a page was loaded from the tab's history, e.g. back or forward.

This creates new scalars that add options for recording SAP sources, and will replace the existing similar reporting within SEARCH_COUNTS.

Attached file Data Collection Review
Attachment #9210419 - Flags: data-review?(mmccorquodale)

Comment on attachment 9210419 [details]
Data Collection Review

  1. Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?
    Yes this will be documented in the Probe Dictionary.

  2. Is there a control mechanism that allows the user to turn the data collection on and off?
    Yes, Users can opt out of telemetry collection.

  3. If the request is for permanent data collection, is there someone who will monitor the data over time?
    Permanent data collection, will be monitored by Natalie Raketic.

  4. Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
    Category 2, Interaction Data.

  5. Is the data collection request for default-on or default-off?
    Default on.

  6. Does the instrumentation include the addition of any new identifiers?
    No new identifiers.

  7. Is the data collection covered by the existing Firefox privacy notice?
    Yes.

  8. Does there need to be a check-in in the future to determine whether to renew the data?
    No.

  9. Does the data collection use a third-party collection tool?
    No.


data-review +

Attachment #9210419 - Flags: data-review?(mmccorquodale) → data-review+
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d8598c0888c6
Add recording of SAP sources for SERP counts. r=daleharvey
https://hg.mozilla.org/integration/autoland/rev/a7229e35c8e7
Extend SERP counts telemetry sources to include page reloads and navigation through tab history. r=daleharvey
Blocks: 1693149
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Blocks: 1702178
Blocks: 1702180
Iteration: 88.2 - Mar 8 - Mar 21 → 89.1 - Mar 22 - Apr 4

qe-verify:

  • New scalars added to record SERPs (browser.search.content.*), existing SEARCH_COUNTS histogram entries retained for now.
  • New scalars added for reload & tabhistory to browser.search.content., browser.search.withads. and browser.search.adclicks.*
Flags: qe-verify+

This bug was verified and a test case was added in the regression test suite.

Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.