Provide a CFR action to open about:preferences#sync with an `entryPoint` query parameter
Categories
(Firefox :: Messaging System, enhancement, P1)
Tracking
()
People
(Reporter: MattN, Assigned: andreio)
References
(Blocks 1 open bug)
Details
(Whiteboard: [passwords:capture-UI])
Attachments
(1 file)
|
Bug 1619422 - Provide a CFR action to open about:preferences#sync with an entrypoint query parameter
47 bytes,
text/x-phabricator-request
|
Details | Review |
Currently we use OPEN_PREFERENCES_PAGE for CFR_SAVE_LOGIN and while that can select the correct pane with the category property, it doesn't allow passing an entryPoint so any Sync/FxA changes from there won't get attributed to the CFR.
We can either copy the behaviour from the Sync code or call their method for it.
| Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
| Reporter | ||
Comment 1•6 years ago
|
||
Mark, for some reason I thought passing an argument to about:preferences#sync would get it passed to the FxA/Sync sign-up form but then I remember seeing that it wouldn't help get attribution. Should we instead link to a different URL if the user chooses to set up sync from a CFR? See attachment 9082001 [details].
Comment 2•6 years ago
|
||
Sorry, but I don't quite understand the question. I do know that if you call window.gSync.openPrefs("markh-test"), you will end up on the preferences pane with a URL of about:preferences?entrypoint=markh-test#sync. If you then click the "Sign in to Sync" button, you end up on https://accounts.firefox.com/?service=sync&context=fx_desktop_v3&entrypoint=markh-test&action=email
I'd have thought that entrypoint param would help you get attribution - I believe that's used in quite a few key metrics the FxA team tracks. Leif would know more about this, but I haven't needinfo'd him because I suspect I've missed something?
| Reporter | ||
Comment 3•6 years ago
|
||
(In reply to Mark Hammond [:markh] [:mhammond] from comment #2)
Sorry, but I don't quite understand the question. I do know that if you call
window.gSync.openPrefs("markh-test"), you will end up on the preferences pane with a URL ofabout:preferences?entrypoint=markh-test#sync. If you then click the "Sign in to Sync" button, you end up onhttps://accounts.firefox.com/?service=sync&context=fx_desktop_v3&entrypoint=markh-test&action=email
OK, thanks, I thought it worked like that but about a month before I filed this I don't think I could find the code that was doing that and I thought in my test it didn't get passed along. That is what I needed to know.
I'd have thought that
entrypointparam would help you get attribution - I believe that's used in quite a few key metrics the FxA team tracks. Leif would know more about this, but I haven't needinfo'd him because I suspect I've missed something?
Nope, that's what I needed to know and it's what I think we should use… not sure why I couldn't find the code or why I didn't think it worked many weeks earlier.
| Assignee | ||
Comment 4•6 years ago
|
||
Comment 6•6 years ago
|
||
| bugherder | ||
Comment 7•6 years ago
|
||
I have verified that the "SAVE_LOGIN_72" CFR message redirects to the "about:preferences?entrypoint=cfr-save-login#sync" URL.
Verified using the latest Firefox Nightly (76.0a1 Build ID - 20200319094444) installed on Windows 10 x64, Mac 10.15.3, and Ubuntu 18.04 x64.
Updated•6 years ago
|
Description
•