Add a more elaborate probe for selecting a synced-tab result

NEW
Unassigned

Status

()

defect
P3
normal
2 years ago
2 years ago

People

(Reporter: past, Unassigned)

Tracking

(Blocks 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox54 affected)

Details

(Whiteboard: [fxsearch])

When clicking on a synced tab result we want to measure time in seconds since the tab was last used (tab was active), the number of seconds it was open and the device type the tab was open on. Not sure if the first two numbers can be retrieved from Sync or not.
This is probably best implemented in two exponential histograms (times) and a categorical histogram (device type).
Markh, can you please help us figuring out what we have available (see comment 0)?
Flags: needinfo?(markh)
(In reply to Panos Astithas [:past] from comment #0)
> When clicking on a synced tab result we want to measure time in seconds
> since the tab was last used (tab was active)

To be clear, sync has 2 tab related features:

* synced tabs are the list of tabs open on other devices.
* "send tab to device" where we use push to automatically open a tab on a second device.

I'm guessing you are talking about the former? The data we have available there is the result of nsISessionStore.getTabState(), which includes a lastUsed timestamp.

> the number of seconds it was open

We don't have that, but it's not clear if you mean how long it was open on the original device, or how long it was opened on "this" device (ie, where the Synced Tabs menu was used). If you mean the original device, that's probably somewhat pointless as the tab is *still* open on that device (or was open when it shutdown)

> and the device type the tab was open on.

We can indirect through a couple of things to get this information.
Flags: needinfo?(markh)
Priority: -- → P2
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.