Skip to content

isGPCSignaled

function isGPCSignaled(): boolean

Defined in: gpc.ts:10

Detect a Global Privacy Control signal from the visitor’s browser.

GPC is exposed as navigator.globalPrivacyControl (boolean) and the Sec-GPC: 1 HTTP header. The header is server-side only; this helper covers the client-side property.

Returns

boolean

See

https://globalprivacycontrol.org/