Record in telemetry when a login is recorded as used
Categories
(Toolkit :: Password Manager, task, P1)
Tracking
()
People
(Reporter: MattN, Assigned: MattN)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [passwords:telemetry])
Attachments
(2 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
3.21 KB,
text/plain
|
chutten
:
data-review+
|
Details |
We have big blind spot in password manager usage as we don't know when users are using a saved login other than via about:logins (copy/reveal) and autofill on page load (which doesn't mean the user actually submitted the form). We currently only know when a login is autofilled, saved or updated. Bug 1621520 will record filling via the context menu and autocomplete but that doesn't necessarily mean the saved login was submitted afterwards.
We do have PWMGR_LOGIN_LAST_USED_DAYS but it includes all logins put into buckets so can't easily tell you whether the user used any saved logins in a session.
Assignee | ||
Comment 1•5 years ago
|
||
Ideally we would exclude manually typing the saved login values and know which UI/UIs was/were used to fill the login but we can probably add that to extra_keys
later… for now we can include a boolean indicating whether any fill happened (using autoFilledLoginGuid
) but it won't take any user edits after the fill into account.
It would also be nice to include whether the login was breached/vulnerable to align with bug 1622693.
Assignee | ||
Comment 2•5 years ago
|
||
(In reply to Matthew N. [:MattN] (PM me if request are blocking you) from comment #1)
It would also be nice to include whether the login was breached/vulnerable to align with bug 1622693.
Both of these are kinda expensive to compute for every login used so I think I will leave this out for now.
Assignee | ||
Comment 3•5 years ago
|
||
Also fix some incorrect/outdated histogram metadata.
Assignee | ||
Comment 4•5 years ago
|
||
A patch is up but I am still working on tests.
Comment 5•5 years ago
|
||
We'll want this telemetry as part of bug 1617759 separate from bug 1628849 to measure when login forms are submitted to see if import suggestion results in more submissions.
Assignee | ||
Comment 6•5 years ago
|
||
[Tracking Requested - why for this release]: See comment 5.
Assignee | ||
Comment 7•5 years ago
|
||
It would be great if this could be reviewed ASAP so we can uplift this to 77. Sorry for the last minute request.
Assignee | ||
Comment 8•5 years ago
|
||
(In reply to Matthew N. [:MattN] (PM me if request are blocking you) from comment #6)
[Tracking Requested - why for this release]: See comment 5.
Is this essential for 77? I've been busy and didn't realize the last beta was today. Not sure if this would be taken for RC, it does seem low risk.
Comment 9•5 years ago
|
||
Su says this is nice to have for the password import suggestion experiment and the main experiment goals are still fine with the telemetry that has already landed/uplifted to 77. So no need to rush this in.
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 13•5 years ago
|
||
Hey Matt, we should see "pwmgr" "saved_login_used" when an autofilled login was submitted, right? Is this telemetry recorded once per session, per site? When you have the time, please fill in the important details to verify so we can check it out on Nightly.
Assignee | ||
Comment 14•5 years ago
|
||
(In reply to Timea Cernea [:tbabos] from comment #13)
Hey Matt, we should see "pwmgr" "saved_login_used" when an autofilled login was submitted, right?
Yes, all uses where what was submitted matches a password (and sometimes username) that was saved for the site.
Is this telemetry recorded once per session, per site?
No, it's each use.
When you have the time, please fill in the important details to verify so we can check it out on Nightly.
There are a few follow-up dependencies already filed to take into account and I will write tests in bug 1640311. For now just do a basic check that any time a password is used via a form or an auth. dialog that the event is shown.
Assignee | ||
Updated•5 years ago
|
Description
•