Closed Bug 1114824 Opened 7 years ago Closed 7 years ago

fix telemetry for TRACKING_PROTECTION_SHIELD

Categories

(Core :: DOM: Security, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla37

People

(Reporter: mmc, Assigned: mmc)

Details

Attachments

(1 file)

We want to be able to calculate things like
- % of page loads that are affected by tracking protection.

The current telemetry is wrong for this. In TRACKING_PROTECTION_SHIELD, numbers are 
- 0 (16.5G), number of times the shield is not shown
- 1 (3.9K), tracking content is loaded
- 2 (58K), tracking content is blocked
- 3 (147M), shield is shown due to mixed content.

Buckets 0 and 3 need to be predicated on the user having tracking protection enabled. Otherwise all we know is that when tracking protection is active and there is tracking content on the page, it's loaded about 6% of the time.
Assignee: nobody → mmc
Status: NEW → ASSIGNED
Comment on attachment 8540452 [details] [diff] [review]
Fix TRACKING_PROTECTION_SHIELD

Review of attachment 8540452 [details] [diff] [review]:
-----------------------------------------------------------------

In case one of you is working over the holiday weeks :)
Attachment #8540452 - Flags: review?(gavin.sharp)
Attachment #8540452 - Flags: review?(bmcbride)
Summary: fix TRACKING_PROTECTION_SHIELD → fix telemetry for TRACKING_PROTECTION_SHIELD
Comment on attachment 8540452 [details] [diff] [review]
Fix TRACKING_PROTECTION_SHIELD

Review of attachment 8540452 [details] [diff] [review]:
-----------------------------------------------------------------

Ho ho ho.
Attachment #8540452 - Flags: review?(gavin.sharp)
Attachment #8540452 - Flags: review?(bmcbride)
Attachment #8540452 - Flags: review+
Thanks, Blair :)
https://hg.mozilla.org/mozilla-central/rev/284aacd7c045
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in before you can comment on or make changes to this bug.