The OptanonAlertBoxClosed cookie
A OneTrust cookie holding the timestamp of when the visitor interacted with the cookie banner.
OptanonAlertBoxClosed at a glance
- Cookie name
OptanonAlertBoxClosed- Vendor
- OneTrust
- Category
- Functional
- Party
- First-party
- Typical duration
- 1 year by default
- Set on
.<your-root-domain>- Value format
- ISO 8601 timestamp, for example 2023-02-27T15:26:56.183Z
- Name match
- Exactly
OptanonAlertBoxClosed
What the OptanonAlertBoxClosed cookie does
OptanonAlertBoxClosed records, as a timestamp, that the visitor has interacted with the OneTrust banner. The OneTrust script checks it to decide whether the banner should be shown again.
Its lifetime follows the same geolocation rule setting as OptanonConsent, 1 year by default, and it's written to the same domain. If the banner keeps reappearing, a missing or expired OptanonAlertBoxClosed is one of the first things to check.
What TagPipes observed
0.09%
of sites scanned set it (38 of 41,162)
365 days
median observed lifetime
TagPipes scanned 41,162 public websites between August 11, 2026 and September 13, 2026, loading up to three pages per site in a real browser as a first-time visitor. OptanonAlertBoxClosed was present on 38 of them.
It was set as a first-party cookie on 36 sites and as a third-party cookie on 2. A site can count in both. Where it was stored as a persistent cookie, the median lifetime we recorded was 365 days.
Often found alongside
- OptanonConsent 100%
- _ga 66%
- _ga_<container-id> 66%
- __ssds 53%
- __ssuzjsr0 53%
- __uzma 53%
Percentage of sites with OptanonAlertBoxClosed where the other cookie was also present.
Technologies detected on the same sites
- OneTrust on 100% of them (1.2% of all sites scanned)
- Google Fonts on 89% of them (78% of all sites scanned)
- reCAPTCHA on 68% of them (32% of all sites scanned)
- Google Analytics on 66% of them (55% of all sites scanned)
- AudioEye on 63% of them (3.6% of all sites scanned)
Aggregate figures across all sites scanned. Websites of TagPipes customers are excluded, no individual site is named, and cookie values are never read or stored. Snapshot dated September 13, 2026.
How to check for OptanonAlertBoxClosed on a website
- Open the site in Chrome, then open DevTools (F12, or Cmd+Option+I on a Mac).
- Go to the Application tab and expand Cookies in the left panel.
- Select each domain listed there and look for
OptanonAlertBoxClosed. The Expires column shows when it will be deleted. - If it is not there, reload the page. Many cookies are only set after a tag has loaded, and some only after a visitor has made a consent choice.
Other OneTrust cookies
Sources
Purpose, duration and value format checked against the vendor documentation above on . The figures under What TagPipes observed are TagPipes scan data from September 13, 2026, not values documented by the vendor. Vendors change their cookies, and sites can configure their own names and lifetimes. Browse all cookies.
Know every cookie your own site sets
TagPipes Pulse identifies the cookies dropped on your site and flags unclassified or miscategorized ones. Shield builds your cookie declaration from a real scan rather than a questionnaire.
TagPipes monitors, configures and reports. It does not determine legal compliance and does not provide legal advice. Output is informational and reflects observed state at the time of observation. Rawsoft's expertise is technology, not law; please confirm any regulatory interpretation with your own counsel.