Privacy custom metric
Appears in: custom_metrics struct
As: privacy
Schema
Section titled “Schema”iab_tcf_v1
Section titled “iab_tcf_v1”Type: object
IAB Transparency and Consent Framework v1 settings and vendor consents. See IAB TCF v1.1.
iab_tcf_v1.present
Section titled “iab_tcf_v1.present”Type: boolean
Whether the __cmp API function is present on the window object.
iab_tcf_v1.data
Section titled “iab_tcf_v1.data”Type: object
TCF v1 vendor consents data returned by getVendorConsents. See VendorConsents.
iab_tcf_v1.compliant_setup
Section titled “iab_tcf_v1.compliant_setup”Type: boolean
Verifies whether the TCF v1 CMP setup is compliant with IAB standards.
iab_tcf_v2
Section titled “iab_tcf_v2”Type: object
IAB Transparency and Consent Framework v2 settings and vendor consents. See IAB TCF v2.
iab_tcf_v2.present
Section titled “iab_tcf_v2.present”Type: boolean
Whether the __tcfapi API function is present on the window object.
iab_tcf_v2.data
Section titled “iab_tcf_v2.data”Type: object
TCF v2 vendor consents data returned by getTCData. See TCData.
iab_tcf_v2.compliant_setup
Section titled “iab_tcf_v2.compliant_setup”Type: boolean
Verifies whether the TCF v2 CMP setup is compliant with IAB standards.
iab_gpp
Section titled “iab_gpp”Type: object
Global Privacy Platform (GPP) ping response data. See Global-Privacy-Platform.
iab_gpp.present
Section titled “iab_gpp.present”Type: boolean
Whether the __gpp API function is present on the window object.
iab_gpp.data
Section titled “iab_gpp.data”Type: object
Ping response data returned by the __gpp API.
iab_usp
Section titled “iab_usp”Type: object
IAB US Privacy User Signal Mechanism (USP API) data. See USPrivacy.
iab_usp.present
Section titled “iab_usp.present”Type: boolean
Whether the __uspapi API function is present on the window object.
iab_usp.privacy_string
Section titled “iab_usp.privacy_string”Type: string
US Privacy string returned by getUSPData.
navigator_doNotTrack
Section titled “navigator_doNotTrack”Type: boolean
Whether the browser’s “Do Not Track” setting was accessed or detected in response bodies. See EFF Do Not Track.
navigator_globalPrivacyControl
Section titled “navigator_globalPrivacyControl”Type: boolean
Whether the Global Privacy Control (GPC) property was accessed or detected in response bodies. See Global Privacy Control.
document_permissionsPolicy
Section titled “document_permissionsPolicy”Type: boolean
Whether document Permissions Policy is referenced in response bodies. See W3C Permissions Policy. Iframes properties in almanac and security custom metrics.
document_featurePolicy
Section titled “document_featurePolicy”Type: boolean
Whether document Feature Policy (legacy Permissions Policy) is referenced in response bodies.
referrerPolicy
Section titled “referrerPolicy”Type: object
Referrer policy declared for the entire document, subresource requests, or link relations. See MDN Referrer-Policy.
referrerPolicy.entire_document_policy
Section titled “referrerPolicy.entire_document_policy”Type: string
Referrer policy set for the entire document using meta tag.
referrerPolicy.individual_requests
Section titled “referrerPolicy.individual_requests”Type: array<object>
Referrer policies specified on individual elements via referrerpolicy attribute.
referrerPolicy.individual_requests[i].tagName
Section titled “referrerPolicy.individual_requests[i].tagName”Type: string
HTML tag name of the element (e.g., IMG, SCRIPT).
referrerPolicy.individual_requests[i].referrerpolicy
Section titled “referrerPolicy.individual_requests[i].referrerpolicy”Type: string
Value of the referrerpolicy attribute.
referrerPolicy.individual_requests[i].count
Section titled “referrerPolicy.individual_requests[i].count”Type: integer
Number of occurrences on the page.
referrerPolicy.link_relations
Section titled “referrerPolicy.link_relations”Type: object
Count of elements specifying rel=“noreferrer” grouped by HTML tag name.
request_hostnames_with_cname
Section titled “request_hostnames_with_cname”Type: object
Mapping of request hostnames to their canonical CNAME chains.
ccpa_link
Section titled “ccpa_link”Type: object
California Consumer Privacy Act (CCPA) compliance links detection. See CPPA FAQ.
ccpa_link.hasCCPALink
Section titled “ccpa_link.hasCCPALink”Type: boolean
Whether links matching CCPA opt-out criteria were found on the page.
iab_ddr
Section titled “iab_ddr”Type: object
IAB Data Deletion Request Framework response data. See Data Deletion Request Framework.
iab_ddr.present
Section titled “iab_ddr.present”Type: boolean
Whether the /dsrdelete.json endpoint exists and returns valid JSON.
iab_ddr.status
Section titled “iab_ddr.status”Type: integer
HTTP status code of the /dsrdelete.json request.
iab_ddr.redirected
Section titled “iab_ddr.redirected”Type: boolean
Whether the request was redirected.
iab_ddr.identifiers
Section titled “iab_ddr.identifiers”Type: array<object>
Sanitized identifiers supported for data deletion requests.
iab_ddr.endpointOrigin
Section titled “iab_ddr.endpointOrigin”Type: string
Target origin if redirected.
iab_ddr.vendorScriptPresent
Section titled “iab_ddr.vendorScriptPresent”Type: boolean
Whether vendor script is declared.
iab_ddr.vendorScriptRequirement
Section titled “iab_ddr.vendorScriptRequirement”Type: boolean
Whether vendor script requirement is declared.
iab_ddr.error
Section titled “iab_ddr.error”Type: string
Error message if request or parsing failed.