Skip to content

Privacy custom metric

Appears in: custom_metrics struct
As: privacy

Type: object

IAB Transparency and Consent Framework v1 settings and vendor consents. See IAB TCF v1.1.

Type: boolean

Whether the __cmp API function is present on the window object.

Type: object

TCF v1 vendor consents data returned by getVendorConsents. See VendorConsents.

Type: boolean

Verifies whether the TCF v1 CMP setup is compliant with IAB standards.

Type: object

IAB Transparency and Consent Framework v2 settings and vendor consents. See IAB TCF v2.

Type: boolean

Whether the __tcfapi API function is present on the window object.

Type: object

TCF v2 vendor consents data returned by getTCData. See TCData.

Type: boolean

Verifies whether the TCF v2 CMP setup is compliant with IAB standards.

Type: object

Global Privacy Platform (GPP) ping response data. See Global-Privacy-Platform.

Type: boolean

Whether the __gpp API function is present on the window object.

Type: object

Ping response data returned by the __gpp API.

Type: object

IAB US Privacy User Signal Mechanism (USP API) data. See USPrivacy.

Type: boolean

Whether the __uspapi API function is present on the window object.

Type: string

US Privacy string returned by getUSPData.

Type: boolean

Whether the browser’s “Do Not Track” setting was accessed or detected in response bodies. See EFF Do Not Track.

Type: boolean

Whether the Global Privacy Control (GPC) property was accessed or detected in response bodies. See Global Privacy Control.

Type: boolean

Whether document Permissions Policy is referenced in response bodies. See W3C Permissions Policy. Iframes properties in almanac and security custom metrics.

Type: boolean

Whether document Feature Policy (legacy Permissions Policy) is referenced in response bodies.

Type: object

Referrer policy declared for the entire document, subresource requests, or link relations. See MDN Referrer-Policy.

Type: string

Referrer policy set for the entire document using meta tag.

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.

Type: object

Count of elements specifying rel=“noreferrer” grouped by HTML tag name.

Type: object

Mapping of request hostnames to their canonical CNAME chains.

Type: object

California Consumer Privacy Act (CCPA) compliance links detection. See CPPA FAQ.

Type: boolean

Whether links matching CCPA opt-out criteria were found on the page.

Type: object

IAB Data Deletion Request Framework response data. See Data Deletion Request Framework.

Type: boolean

Whether the /dsrdelete.json endpoint exists and returns valid JSON.

Type: integer

HTTP status code of the /dsrdelete.json request.

Type: boolean

Whether the request was redirected.

Type: array<object>

Sanitized identifiers supported for data deletion requests.

Type: string

Target origin if redirected.

Type: boolean

Whether vendor script is declared.

Type: boolean

Whether vendor script requirement is declared.

Type: string

Error message if request or parsing failed.