Add impression telemetry for autofill
Categories
(Firefox :: Address Bar, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox103 | --- | verified |
People
(Reporter: adw, Assigned: daisuke)
References
Details
(Whiteboard: [snt-scrubbed])
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
3.60 KB,
text/plain
|
mmccorquodale
:
data-review+
|
Details |
As part of the adaptive history autofill experiment, we'll need to add impression telemetry for the different types of autofill. Per a Slack thread today, the definition of "impression" will be the same as the one we use for Suggest: An impression occurs when an autofill result is present at the end of a urlbar engagement. (We've been calling this "option 3" in threads and a doc or two.)
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Hello Megan! Could you do data-review? Thanks!
Comment 3•2 years ago
|
||
Comment on attachment 9281577 [details]
data-review-request-for-bug1774305.md
-
Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?
This will be documented in the probe dictionary. -
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. -
If the request is for permanent data collection, is there someone who will monitor the data over time?
Firefox Suggest User Value team will monitor. -
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. -
Is the data collection request for default-on or default-off?
Default on. -
Does the instrumentation include the addition of any new identifiers?
No new identifiers. -
Is the data collection covered by the existing Firefox privacy notice?
Yes. -
Does the data collection use a third-party collection tool?
No.
data-review +
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/299feb340bf2 Add impression telemetry for autofill. r=adw
Comment 5•2 years ago
|
||
Backed out changeset 299feb340bf2 (bug 1774305) for causing mochitest failures in browser_urlbar_telemetry_autofill
Backout link: https://hg.mozilla.org/integration/autoland/rev/2b49767efaac5d20a64ce78c1ca0e2899823530f
TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_autofill.js | "undefined" == 1 - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertScalar :: line 23
Assignee | ||
Updated•2 years ago
|
Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9ef9b0bfdfeb Add impression telemetry for autofill. r=adw
Comment 7•2 years ago
|
||
bugherder |
Reporter | ||
Comment 8•2 years ago
•
|
||
STR for QA
There are three cases we should test for each kind of autofill. Before you start each case, please restart the browser so one case doesn't influence the next.
Notes:
- To verify telemetry, please visit about:telemetry#scalars-tab_search=urlbar.impression.autofill
- It will be helpful to keep the telemetry tab open during the STR so you can reload it to verify telemetry is updated correctly. You can use one tab for telemetry and another tab for triggering autofill and picking results.
- If you find that unexpected telemetry values appear, make sure you didn't accidentally hit enter or pick a result after another type of autofill happened.
Case 1: Origin autofill
- Type
moz
and verifymozilla.org/
autofills
a. If it doesn't autofill, visit https://www.mozilla.org/ a few times until it does, and then close the tab. Don't use autofill when visiting it in this step. You can copy-paste the full URL instead. - Press enter
- Verify the following telemetry value appears:
urlbar.impression.autofill_origin
: 1
- Verify the following telemetry does not appear:
urlbar.impression.autofill_adaptive
urlbar.impression.autofill_url
- Type
moz
and verifymozilla.org/
autofills - While the panel remains open, pick any result in the urlbar panel except the first one, e.g. a search suggestion
- Verify the telemetry value is incremented:
urlbar.impression.autofill_origin
: 2
- Verify the following telemetry does not appear:
urlbar.impression.autofill_adaptive
urlbar.impression.autofill_url
Case 2: URL autofill
- Type
addons
and verifyaddons.mozilla.org/
autofills
a. If it doesn't autofill, visit https://addons.mozilla.org/firefox/addon/nightly-tester-tools/ a few times until it does, and then close the tab. Don't use autofill when visiting it in this step. You can copy-paste the full URL instead. - Move the caret to the end and type
fire
so thataddons.mozilla.org/firefox/
autofills - Press enter
- Verify the following telemetry value appears:
urlbar.impression.autofill_url
: 1
- Verify the following telemetry does not appear:
urlbar.impression.autofill_adaptive
urlbar.impression.autofill_origin
- Repeat steps 1 and 2
- While the panel remains open, pick any result in the urlbar panel except the first one, e.g. the history result
- Verify the telemetry value is incremented:
urlbar.impression.autofill_url
: 2
- Verify the following telemetry does not appear:
urlbar.impression.autofill_adaptive
urlbar.impression.autofill_origin
Case 3: Adaptive history autofill
- Set
browser.urlbar.autoFill.adaptiveHistory.enabled
to true - Type
addons
and verifyaddons.mozilla.org/
autofills
a. If it doesn't autofill, visit https://addons.mozilla.org/firefox/addon/nightly-tester-tools/ a few times until it does, and then close the tab. Don't use autofill when visiting it in this step. You can copy-paste the full URL instead. - Verify the URL from step 2a appears as a history result and click it
- Close the tab and open a new one
- Type
addons
and verify the URL from step 2a autofills - Press enter
- Verify the following telemetry value appears:
urlbar.impression.autofill_adaptive
: 1urlbar.impression.autofill_origin
: 1 [Edit: Earlier version of STR incorrectly didn't include this]
- Verify the following telemetry does not appear:
[Edit: This is wrong, it should appear]urlbar.impression.autofill_origin
urlbar.impression.autofill_url
- Close the tab and open a new one
- Type
addons
and verify the URL from step 2a autofills - While the panel remains open, pick any result in the urlbar panel except the first one, e.g. the history result
- Verify the telemetry value is incremented:
urlbar.impression.autofill_adaptive
: 2urlbar.impression.autofill_origin
: 1 [Edit: Earlier version of STR incorrectly didn't include this]
- Verify the following telemetry does not appear:
[Edit: This is wrong, it should appear]urlbar.impression.autofill_origin
urlbar.impression.autofill_url
Reporter | ||
Comment 9•2 years ago
|
||
I updated the STR just now for the adaptive history autofill case. They didn't properly take into account the fact that autofill_origin
should also be recorded with a value of 1. Thanks again for filing bug 1776373.
Comment 10•2 years ago
|
||
Thank you Drew for the updates and the clarification on this. Based on your comments I will be marking this as verified fixed. as that was the only ping left to be checked.
Description
•