Skip to content

Privacy custom metric

Appears in: custom_metrics struct
As: privacy

An example of the decoded object from https://www.google.com/ page crawl
{
"privacy_wording_links": [
{
"text": "Privacy"
}
],
"iab_tcf_v1": {
"present": false,
"data": null,
"compliant_setup": null
},
"iab_tcf_v2": {
"present": false,
"data": null,
"compliant_setup": null
},
"iab_usp": {
"present": false,
"privacy_string": null
},
"navigator_doNotTrack": false,
"navigator_globalPrivacyControl": false,
"document_permissionsPolicy": false,
"document_featurePolicy": false,
"referrerPolicy": {
"entire_document_policy": "origin",
"individual_requests": null,
"link_relations": null
},
"media_devices": {
"navigator_mediaDevices_enumerateDevices": false,
"navigator_mediaDevices_getUserMedia": true,
"navigator_mediaDevices_getDisplayMedia": false
},
"geolocation": {
"navigator_geolocation_getCurrentPosition": false,
"navigator_geolocation_watchPosition": false
},
"fingerprinting": {
"counts": {
"prefers-contrast": 4,
"forced-colors": 15,
"devicememory": 1,
"hardwareconcurrency": 2,
"localstorage": 5,
"screen.width": 7,
"screen.height": 5,
"sessionstorage": 1,
"gettimezoneoffset": 5,
"maxtouchpoints": 5,
"ontouchstart": 5,
"navigator.vendor": 1,
"getchanneldata": 4,
"navigator.platform": 1
},
"likelyFingerprintingScripts": [
"https://www.google.com/",
"https://www.gstatic.com/og/_/js/k=og.qtm.en_US.ftxzKLuybBw.2019.O/rt=j/m=qabr,q_d,qcwid,qapid,qald,q_dg/exm=qaaw,qadd,qaid,qein,qhaw,qhba,qhbr,qhch,qhga,qhid,qhin/d=1/ed=1/rs=AA2YrTsOEv0aSAP39vut5xzjLXfdU4aRbQ",
...
]
},
"request_hostnames_with_cname": {
"ogs.google.com": [
"www3.l.google.com"
],
"apis.google.com": [
"plus.l.google.com"
]
},
"ccpa_link": {
"hasCCPALink": false,
"CCPALinkPhrases": []
}
}

Schema

Type: array<object>

Links related to privacy policy.

privacy_wording_links[i].text

Type: string

Title of the link.

iab_tcf_v1

Type: object

IAB TCF v1 settings.

iab_tcf_v1.present

Type: boolean

Presence of IAB TCF v1.

iab_tcf_v1.data

Type: object

TCF v1 vendor consents. VendorConsents

iab_tcf_v1.compliant_setup

Type: boolean

Verifies compliance of TCF v1 vendor consents.

iab_tcf_v2

Type: object

IAB TCF v2 settings.

iab_tcf_v2.present

Type: boolean

Presence of IAB TCF v2.

iab_tcf_v2.data

Type: object

TCF v2 vendor consents. TCData

iab_tcf_v2.compliant_setup

Type: boolean

Verifies compliance of TCF v2 vendor consents.

iab_usp

Type: object

Shows the presence of IAB U.S. Privacy String.

iab_usp.present

Type: boolean

Shows the presence of IAB U.S. Privacy String.

iab_usp.privacy_string

Type: string

IAB U.S. Privacy String.

Type: boolean

Indicates whether the browser’s “Do Not Track” setting is enabled.

Type: boolean

Indicates whether the browser’s Global Privacy Control setting is enabled.

document_permissionsPolicy

Type: boolean

Indicates the presence of the Permissions Policy.

document_featurePolicy

Type: boolean

Indicates the presence of the Feature Policy.

referrerPolicy

Type: object

Specifies the referrer policy for the entire document and individual requests.

referrerPolicy.entire_document_policy

Type: string

Referrer policy for the entire document.

referrerPolicy.individual_requests

Type: string

Referrer policy for individual requests.

Type: string

Referrer policy for link relations.

media_devices

Type: object

Tracks the usage of media device APIs like enumerateDevices and getUserMedia.

media_devices["API_NAME"]

Type: boolean

Indicates usage of a particular API.

geolocation

Type: object

Tracks the usage of geolocation APIs like getCurrentPosition and watchPosition.

geolocation["API_NAME"]

Type: boolean

Indicates usage of a particular API.

fingerprinting

Type: object

Tracks potential fingerprinting attempts by counting API calls and listing likely fingerprinting scripts.

fingerprinting.counts

Type: object

Counts of fingerprinting-related API calls.

fingerprinting.counts["API_NAME"]

Type: integer

Counts of fingerprinting-related API calls.

fingerprinting.likelyFingerprintingScripts

Type: array<string>

List of likely fingerprinting script URLs.

request_hostnames_with_cname

Type: object

Lists hostnames with their corresponding CNAME records.

request_hostnames_with_cname.["HOSTNAME"]

Type: array<string>

CNAME records for a given hostname.

Type: object

California Consumer Privacy Act (CCPA) compliance.

Type: boolean

Presence of a CCPA link.

ccpa_link.CCPALinkPhrases

Type: array<string>

Related CCPA link phrases.