2 Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
9 This file is used to generate a comprehensive list of Chrome rappor metrics
10 along with a detailed description for each histogram. See the design doc at
11 http://www.chromium.org/developers/design-documents/rappor
12 for a description of rappor metrics.
15 <rappor-parameter-types>
17 Parameters that rappor metrics can be collected with. This list should be
18 kept in sync with parameter type definitions in
19 components/rappor/rappor_service.cc.
22 <rappor-parameters name="COARSE_RAPPOR_TYPE">
24 Stricter parameters for metrics collected from a broader population.
26 <parameters num-cohorts="128" bytes="1" hash-functions="2" fake-prob="0.5"
27 fake-one-prob="0.5" one-coin-prob="0.75" zero-coin-prob="0.25"
28 reporting-level="COARSE"/>
31 <rappor-parameters name="ETLD_PLUS_ONE">
33 Deprecated parameters for collecting the domain and registry of a URL from
34 UMA opt-in users. Should use UMA_RAPPOR_TYPE instead.
36 <parameters num-cohorts="128" bytes="16" hash-functions="2" fake-prob="0.5"
37 fake-one-prob="0.5" one-coin-prob="0.75" zero-coin-prob="0.25"
38 reporting-level="FINE"/>
41 <rappor-parameters name="SAFEBROWSING_RAPPOR_TYPE">
43 Parameters for metrics related to Safe Browsing, collected from all user
44 with safe browsing enabled.
46 <parameters num-cohorts="128" bytes="1" hash-functions="2" fake-prob="0.5"
47 fake-one-prob="0.5" one-coin-prob="0.75" zero-coin-prob="0.25"
48 reporting-level="COARSE"/>
51 <rappor-parameters name="UMA_RAPPOR_TYPE">
53 Parameters suitable for metrics from UMA opt-in users.
55 <parameters num-cohorts="128" bytes="4" hash-functions="2" fake-prob="0.5"
56 fake-one-prob="0.5" one-coin-prob="0.75" zero-coin-prob="0.25"
57 reporting-level="FINE"/>
60 </rappor-parameter-types>
63 <!-- Rappor metric definitions -->
65 <rappor-metric name="AppBanner.NativeApp.Dismissed" type="ETLD_PLUS_ONE">
66 <owner>dfalcantara@chromium.org</owner>
68 The eTLD+1 of a URL that displayed a native app banner, which was explicitly
69 dismissed by the user.
73 <rappor-metric name="AppBanner.NativeApp.Installed" type="ETLD_PLUS_ONE">
74 <owner>dfalcantara@chromium.org</owner>
76 The eTLD+1 of a URL that displayed a native app banner, which resulted in
77 the user installing the promoted application.
81 <rappor-metric name="AppBanner.NativeApp.Shown" type="ETLD_PLUS_ONE">
82 <owner>dfalcantara@chromium.org</owner>
84 The eTLD+1 of a URL that displayed a native app banner.
88 <rappor-metric name="AppBanner.WebApp.Dismissed" type="ETLD_PLUS_ONE">
89 <owner>dfalcantara@chromium.org</owner>
91 The eTLD+1 of a URL that displayed a web app banner, which was explicitly
92 dismissed by the user.
96 <rappor-metric name="AppBanner.WebApp.Installed" type="ETLD_PLUS_ONE">
97 <owner>dfalcantara@chromium.org</owner>
99 The eTLD+1 of a URL that displayed a web app banner, which resulted in the
100 user installing the promoted application.
104 <rappor-metric name="AppBanner.WebApp.Shown" type="ETLD_PLUS_ONE">
105 <owner>dfalcantara@chromium.org</owner>
107 The eTLD+1 of a URL that displayed a web app banner.
111 <rappor-metric name="Autofill.HighNumberOfHeuristicMismatches"
112 type="ETLD_PLUS_ONE">
113 <owner>mathp@chromium.org</owner>
115 The eTLD+1 of a URL for which there was a high number of mismatches for the
116 heuristic prediction of the form field types.
120 <rappor-metric name="Autofill.HighNumberOfServerMismatches"
121 type="ETLD_PLUS_ONE">
122 <owner>mathp@chromium.org</owner>
124 The eTLD+1 of a URL for which there was a high number of mismatches for the
125 server prediction of the form field types.
129 <rappor-metric name="Autofill.QueryResponseHasNoServerDataForForm"
130 type="ETLD_PLUS_ONE">
131 <owner>mathp@chromium.org</owner>
133 The eTLD+1 of a URL for which there was a server query response for which
134 the server had no data at all for at least one form.
138 <rappor-metric name="ContentSettings.MixedScript.DisplayedShield"
139 type="ETLD_PLUS_ONE">
140 <owner>lgarron@chromium.org</owner>
142 The eTLD+1 of a URL that displayed a mixed script shield. Note: this does
143 *not* include pages with mixed scripts where the user has already clicked
148 <rappor-metric name="ContentSettings.MixedScript.RanMixedScript"
149 type="ETLD_PLUS_ONE">
150 <owner>lgarron@chromium.org</owner>
152 The eTLD+1 of a URL that when mixed script actually ran.
156 <rappor-metric name="ContentSettings.MixedScript.UserClickedAllow"
157 type="ETLD_PLUS_ONE">
158 <owner>lgarron@chromium.org</owner>
160 The eTLD+1 of a URL where the user clicked "Load unsafe scripts"
161 on a mixed content shield. (This results in a page refresh. Mixed scripts
162 may not actually run until the users triggers them again after the refresh.)
166 <rappor-metric name="ContentSettings.PermissionActions_Camera.Revoked.Url"
167 type="ETLD_PLUS_ONE">
168 <owner>jialiul@chromium.org</owner>
170 The domain for which a camera permission was revoked.
174 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Denied.Url"
175 type="ETLD_PLUS_ONE">
176 <owner>miguelg@chromium.org</owner>
178 The domain for which a Geolocation permission prompt was Denied.
183 name="ContentSettings.PermissionActions_Geolocation.Dismissed.Url"
184 type="ETLD_PLUS_ONE">
185 <owner>miguelg@chromium.org</owner>
187 The domain for which a Geolocation permission prompt was Dismissed.
191 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Granted.Url"
192 type="ETLD_PLUS_ONE">
193 <owner>miguelg@chromium.org</owner>
195 The domain for which a Geolocation permission prompt was accepted.
199 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Ignored.Url"
200 type="ETLD_PLUS_ONE">
201 <owner>miguelg@chromium.org</owner>
203 The domain for which a Geolocation permission prompt was Ignored.
207 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Revoked.Url"
208 type="ETLD_PLUS_ONE">
209 <owner>jialiul@chromium.org</owner>
211 The domain for which a Geolocation permission was revoked.
215 <rappor-metric name="ContentSettings.PermissionActions_Mic.Revoked.Url"
216 type="ETLD_PLUS_ONE">
217 <owner>jialiul@chromium.org</owner>
219 The domain for which a microphone permission was revoked.
224 name="ContentSettings.PermissionActions_Notifications.Denied.Url"
225 type="ETLD_PLUS_ONE">
226 <owner>miguelg@chromium.org</owner>
228 The domain for which a Notification permission prompt was Denied.
233 name="ContentSettings.PermissionActions_Notifications.Dismissed.Url"
234 type="ETLD_PLUS_ONE">
235 <owner>miguelg@chromium.org</owner>
237 The domain for which a Notification permission prompt was Dismissed.
242 name="ContentSettings.PermissionActions_Notifications.Granted.Url"
243 type="ETLD_PLUS_ONE">
244 <owner>miguelg@chromium.org</owner>
246 The domain for which a Notification permission prompt was accepted.
251 name="ContentSettings.PermissionActions_Notifications.Ignored.Url"
252 type="ETLD_PLUS_ONE">
253 <owner>miguelg@chromium.org</owner>
255 The domain for which a Notification permission prompt was Ignored.
260 name="ContentSettings.PermissionActions_Notifications.Revoked.Url"
261 type="ETLD_PLUS_ONE">
262 <owner>jialiul@chromium.org</owner>
264 The domain for which a Notification permission was revoked.
268 <rappor-metric name="ContentSettings.PermissionRequested.Geolocation.Url"
269 type="ETLD_PLUS_ONE">
270 <owner>miguelg@chromium.org</owner>
272 The domain that issues a Geolocation permission prompt.
276 <rappor-metric name="ContentSettings.PermissionRequested.Notifications.Url"
277 type="ETLD_PLUS_ONE">
278 <owner>miguelg@chromium.org</owner>
280 The domain that issues a Notification permission prompt.
284 <rappor-metric name="DeviceSensors.DeviceMotion" type="ETLD_PLUS_ONE">
285 <owner>timvolodine@chromium.org</owner>
287 The domain and registry of the URL that is using Device Motion API.
291 <rappor-metric name="DeviceSensors.DeviceOrientation" type="ETLD_PLUS_ONE">
292 <owner>timvolodine@chromium.org</owner>
294 The domain and registry of the URL that is using Device Orientation API.
298 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE">
299 <owner>rdevlin.cronin@chromium.org</owner>
301 The eTLD+1 of a URL that might be doing ad injection.
305 <rappor-metric name="Launch.HomeScreen.Shortcut" type="ETLD_PLUS_ONE">
306 <owner>dfalcantara@chromium.org</owner>
308 The eTLD+1 of a URL that was launched from the Android Home screen into a
309 tab. This explicitly does not count relaunches via the Android Recents
314 <rappor-metric name="Launch.HomeScreen.Standalone" type="ETLD_PLUS_ONE">
315 <owner>dfalcantara@chromium.org</owner>
317 The eTLD+1 of a URL that was launched from the Android Home screen into a
318 WebappActivity. This explicitly does not count relaunches via the Android
323 <rappor-metric name="Launch.HomeScreenSource.AddToHomeScreen"
324 type="ETLD_PLUS_ONE">
325 <owner>dominickn@chromium.org</owner>
327 The eTLD+1 of a URL that was launched from the Android Home screen via an
328 intent added from an add to homescreen menu item. This explicitly does not
329 count relaunches via the Android Recents menu.
333 <rappor-metric name="Launch.HomeScreenSource.AppBanner" type="ETLD_PLUS_ONE">
334 <owner>dominickn@chromium.org</owner>
336 The eTLD+1 of a URL that was launched from the Android Home screen via an
337 intent added from an app banner. This explicitly does not count relaunches
338 via the Android Recents menu.
342 <rappor-metric name="Launch.HomeScreenSource.BookmarkNavigatorWidget"
343 type="ETLD_PLUS_ONE">
344 <owner>aurimas@chromium.org</owner>
346 The eTLD+1 of a URL that was launched from the Chrome's bookmark navigator
347 widget. This explicitly does not count relaunches via the Android Recents
352 <rappor-metric name="Launch.HomeScreenSource.BookmarkShortcutWidget"
353 type="ETLD_PLUS_ONE">
354 <owner>aurimas@chromium.org</owner>
356 The eTLD+1 of a URL that was launched from the Chrome's bookmark shortcut
357 widget. This explicitly does not count relaunches via the Android Recents
362 <rappor-metric name="Launch.HomeScreenSource.Unknown" type="ETLD_PLUS_ONE">
363 <owner>dominickn@chromium.org</owner>
365 The eTLD+1 of a URL that was launched from the Android Home screen via an
366 intent added from an unknown source. This explicitly does not count
367 relaunches via the Android Recents menu.
371 <rappor-metric name="Media.OriginUrl.EME" type="ETLD_PLUS_ONE">
372 <owner>xhwang@chromium.org</owner>
374 The domain and registry of the URL that uses Encrypted Media Extensions
379 <rappor-metric name="Media.OriginUrl.EME.Insecure" type="ETLD_PLUS_ONE">
380 <owner>xhwang@chromium.org</owner>
382 The domain and registry of the URL that uses Encrypted Media Extensions
383 (EME) from an insecure origin.
387 <rappor-metric name="Media.OriginUrl.HLS" type="ETLD_PLUS_ONE">
388 <owner>watk@chromium.org</owner>
390 The domain and registry of the URL that loads an HTML5 media player to play
395 <rappor-metric name="Media.OriginUrl.MSE" type="ETLD_PLUS_ONE">
396 <owner>xhwang@chromium.org</owner>
398 The domain and registry of the URL that loads an HTML5 media player using
399 Media Source Extensions (MSE).
403 <rappor-metric name="Media.OriginUrl.SRC" type="ETLD_PLUS_ONE">
404 <owner>xhwang@chromium.org</owner>
406 The domain and registry of the URL that loads an HTML5 media player using
411 <rappor-metric name="NTP.ExplicitUserAction.PageNavigation.NTPTileClick"
412 type="UMA_RAPPOR_TYPE">
413 <owner>knn@chromium.org</owner>
415 The eTLD+1 of the website visited by a user by clicking on the tile in the
420 <rappor-metric name="NTP.ExplicitUserAction.PageNavigation.OmniboxNonSearch"
421 type="UMA_RAPPOR_TYPE">
422 <owner>knn@chromium.org</owner>
424 The eTLD+1 of the website visited by a user by typing the URL in the
425 omnibox including those completed from suggestions but not including
426 those that end up being searches in the search engine.
430 <rappor-metric name="Navigation.Scheme.Data" type="ETLD_PLUS_ONE">
431 <owner>meacer@chromium.org</owner>
433 The domain and registry of the URL that resulted in a main frame navigation
434 to a |data:| URL. This includes page initiated navigations (e.g. redirects)
435 and users clicking links, but excludes navigations initiated by users typing
440 <rappor-metric name="Plugins.FlashOriginUrl" type="ETLD_PLUS_ONE">
441 <owner>wfh@chromium.org</owner>
443 The domain and registry of the top level URL of a page which attempts to
444 launch a Flash NPAPI or PPAPI plugin, if the client has Flash installed
445 and enabled. Recorded when the plugin frame appears for each Flash object
446 found on the page, even if the plugin is click-to-play.
450 <rappor-metric name="Plugins.FlashUrl" type="ETLD_PLUS_ONE">
451 <owner>wfh@chromium.org</owner>
453 The domain and registry of the URL from where Flash SWF or SPL content is
454 being loaded from, while attempting to launch a Flash (NPAPI or PPAPI)
455 plugin that is installed and enabled. Recorded when the plugin frame
456 appears for each Flash object found in the page, even if the plugin is
461 <rappor-metric name="Plugins.SilverlightOriginUrl" type="ETLD_PLUS_ONE">
462 <owner>wfh@chromium.org</owner>
464 The domain and registry of the top level URL of a page which attempts to
465 launch a Silverlight NPAPI plugin, if the client has Silverlight installed
466 and enabled. Recorded when the plugin frame appears for each Silverlight
467 object found on the page, even if the plugin is click-to-play.
471 <rappor-metric name="PowerfulFeatureUse.Host.DeviceMotion.Origin.Insecure"
472 type="ETLD_PLUS_ONE">
473 <owner>jww@chromium.org</owner>
475 The host of the URL that uses the device motion API from an insecure origin.
479 <rappor-metric name="PowerfulFeatureUse.Host.DeviceOrientation.Insecure"
480 type="ETLD_PLUS_ONE">
481 <owner>jww@chromium.org</owner>
483 The host of the URL that uses the device orientation API from an insecure
488 <rappor-metric name="PowerfulFeatureUse.Host.Fullscreen.Insecure"
489 type="ETLD_PLUS_ONE">
490 <owner>jww@chromium.org</owner>
492 The host of the URL that uses the fullscreen API from an insecure origin.
496 <rappor-metric name="PowerfulFeatureUse.Host.Geolocation.Insecure"
497 type="ETLD_PLUS_ONE">
498 <owner>jww@chromium.org</owner>
500 The host of the URL that uses the geolocation API from an insecure origin.
504 <rappor-metric name="PowerfulFeatureUse.Host.GetUserMedia.Insecure"
505 type="ETLD_PLUS_ONE">
506 <owner>jww@chromium.org</owner>
508 The host of the URL that uses the getUserMedia API from an insecure origin.
512 <rappor-metric name="PushMessaging.GenericNotificationShown.Origin"
513 type="ETLD_PLUS_ONE">
514 <owner>miguelg@chromium.org</owner>
516 Number of times the generic (forced) notification was shown per origin.
517 This happens if the site uses the push api but does not generate a
518 notification of their own.
522 <rappor-metric name="PushMessaging.MessageReceived.Origin" type="ETLD_PLUS_ONE">
523 <owner>miguelg@chromium.org</owner>
525 Push Messages received per Origin.
529 <rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE">
530 <owner>holte@chromium.org</owner>
532 The domain and registry of the URL for the default search engine.
533 Recorded when a profile is opened or after a profile reset.
537 <rappor-metric name="ServiceWorker.ControlledPageUrl" type="ETLD_PLUS_ONE">
538 <owner>horo@chromium.org</owner>
540 The domain and registry of the URL of the page which is controlled by a
541 ServiceWorker. Recorded when the page is loaded.
545 <rappor-metric name="Settings.FirstStartupPage" type="ETLD_PLUS_ONE">
546 <owner>holte@chromium.org</owner>
548 The domain and registry of the URL of the first page opened on startup.
549 Recorded when a profile is loaded if preferences specify a fixed set of URLs
554 <rappor-metric name="Settings.HomePage2" type="ETLD_PLUS_ONE">
555 <owner>holte@chromium.org</owner>
557 The eTLD+1 of the prefs::kHomePage setting. Recorded when a profile is
558 loaded if the URL is valid and prefs::kHomePageIsNewTabPage is false.
562 <rappor-metric name="Settings.NewTabPage" type="ETLD_PLUS_ONE">
563 <owner>holte@chromium.org</owner>
565 The domain and registry of the URL chrome://newtab is rewritten to.
566 Recorded when a profile is loaded, if the URL is valid.
570 <rappor-metric name="SoftwareReporter.FoundUwS" type="COARSE_RAPPOR_TYPE">
571 <owner>mad@chromium.org</owner>
573 The IDs of unwanted software found by the software reporter tool.
577 <rappor-metric name="Startup.BrowserLaunchURL" type="UMA_RAPPOR_TYPE">
578 <owner>rkaplow@chromium.org</owner>
580 The eTLD+1 of a URL that was passed in from the command line when Chrome
581 is invoked. Note that this handles the case of a URL passed to Chrome
582 starting up, or when a running Chrome is given the message to open a new
587 <rappor-metric name="WebComponents.DocumentRegisterElement"
588 type="ETLD_PLUS_ONE">
589 <owner>kojii@chromium.org</owner>
591 The host of a URL that used Document::RegisterElement().
595 <rappor-metric name="WebComponents.ElementCreateShadowRoot"
596 type="ETLD_PLUS_ONE">
597 <owner>kojii@chromium.org</owner>
599 The host of a URL that used Element::CreateShadowRoot().
603 <rappor-metric name="WebComponents.EventPath" type="ETLD_PLUS_ONE">
604 <owner>kojii@chromium.org</owner>
606 The host of a URL that used Event::Path().
610 <rappor-metric name="WebComponents.EventPath.Extensions" type="ETLD_PLUS_ONE">
611 <owner>kojii@chromium.org</owner>
613 The name of an extension that used Event::Path().
617 <rappor-metric name="interstitial.harmful" type="SAFEBROWSING_RAPPOR_TYPE">
618 <owner>nparker@chromium.org</owner>
620 The domain+registry of a URL that triggered a safe-browsing UWS
623 <string-field name="domain">
625 The domain+registry of a URL that triggered a safe-browsing UWS
629 <flags-field name="flags">
630 <flag>Bit 0: DID_PROCEED</flag>
631 <flag>Bit 1: IS_REPEAT_VISIT</flag>
633 Bitfield of the state from a safe-browsing UWS warning interstitial.
638 <rappor-metric name="interstitial.malware" type="SAFEBROWSING_RAPPOR_TYPE">
639 <owner>nparker@chromium.org</owner>
641 The domain+registry of a URL that triggered a safe-browsing malware
644 <string-field name="domain">
646 The domain+registry of a URL that triggered a safe-browsing malware
650 <flags-field name="flags">
651 <flag>Bit 0: DID_PROCEED</flag>
652 <flag>Bit 1: IS_REPEAT_VISIT</flag>
654 Bitfield of the state from a safe-browsing malware warning interstitial.
659 <rappor-metric name="interstitial.phishing" type="SAFEBROWSING_RAPPOR_TYPE">
660 <owner>nparker@chromium.org</owner>
662 The domain+registry of a URL that triggered a safe-browsing phishing
665 <string-field name="domain">
667 The domain+registry of a URL that triggered a safe-browsing phishing
671 <flags-field name="flags">
672 <flag>Bit 0: DID_PROCEED</flag>
673 <flag>Bit 1: IS_REPEAT_VISIT</flag>
675 Bitfield of the state from a safe-browsing phishing warning interstitial.
680 <rappor-metric name="interstitial.ssl.domain" type="COARSE_RAPPOR_TYPE">
681 <owner>nparker@chromium.org</owner>
683 ** DEPRECATED. Replaced by insterstitial.ssl2.domain on 2015-07-07 since
684 the type changed.** The domain+registry of a URL that triggered an SSL
685 interstitial. Domains for bad-clock warnings are not reported.
689 <rappor-metric name="interstitial.ssl2" type="UMA_RAPPOR_TYPE">
690 <owner>nparker@chromium.org</owner>
692 The domain+registry of a URL that triggered an SSL interstitial.
694 <string-field name="domain">
696 The domain+registry of a URL that triggered an SSL interstitial.
699 <flags-field name="flags">
700 <flag>Bit 0: DID_PROCEED</flag>
701 <flag>Bit 1: IS_REPEAT_VISIT</flag>
703 Bitfield of the state from an SSL warning interstitial.
710 </rappor-configuration>