Skip to content

consentAllowed

consentAllowed(): boolean

Defined in: analytics.ts:184

Does the viewer allow analytics? False under Global Privacy Control (navigator.globalPrivacyControl) or Do Not Track ("1" or "yes" on navigator.doNotTrack or window.doNotTrack, and the legacy numeric 1), the same rule as the SparkleTree edge tracker. Read on every send, so a signal that changes mid-visit applies at once.

boolean