Attribute cookie_banner

Name
cookie_banner
Description
Used in the page_view object to record the presence of the cookie banner "You have accepted cookies" element on the page
Value
true/undefined depending on the presence of data-ga4-cookie-banner on the page
Example
true
Required
false
Type
string (boolean)
Redact
false
GTM/GA4 parameter name
cookie_banner
GA4 display name
Cookie banner
Used by events
page view (Page view)