Closed Bug 902075 Opened 6 years ago Closed 6 years ago

Add telemetry for usage patterns of click-to-play plugins

Categories

(Core :: Plug-ins, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: benjamin, Assigned: benjamin)

References

Details

Attachments

(1 file, 1 obsolete file)

As we turn click-to-play on by default for most plugins, I want telemetry data indicating how people actually use the UI:

* clicks on in-content UI
* clicks on doorhanger icon
* single versus multi-plugin UI
* click rates for allowonce/allowalways/stop allowing
Blocks: 899080
No longer blocks: 89980
Attachment #796831 - Flags: review?(vdjeric)
Comment on attachment 796831 [details] [diff] [review]
Add telemetry for plugin click-to-activate doorhanger UI, r?vladan

>+    // Histograms always start at 0, even though our data starts at 1
>+    var histogramCount = centerActions.length - 1;

- Frontend code uses "let" now afaik
- Is it possible for centerActions.length to be zero?
Attachment #796831 - Flags: review?(vdjeric) → review+
Attachment #796831 - Attachment is obsolete: true
Given the "CtP discoverability issues" discussion on firefox-dev, should/can we extend this to get data on "hidden" vs. "non hidden" plugin volumes?
Flags: needinfo?(benjamin)
https://hg.mozilla.org/mozilla-central/rev/1e63861a73d9
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Currently this doesn't have any telemetry for when we show the icon, only when the user clicks it. That's partly because we recreate the doorhanger/icon fairly often. Any extension of the data should of course be in another bug.
Flags: needinfo?(benjamin)
Blocks: 1345894
You need to log in before you can comment on or make changes to this bug.