UNSAFE_COOKIE_ACCESS: Component reads the page's cookies
| Severity | Fault | Stage |
|---|---|---|
| error | customer (the source package) | build output |
What it means
Section titled “What it means”The component reads or writes document.cookie (or cookieStore): the host page’s cookies, which may hold sessions and tracking ids that belong to the site, not to the component (rule document-cookie). Taggor components are cookieless by default.
How to fix
Section titled “How to fix”Remove the cookie access. To remember something about the visitor, use the component’s props or the Taggor data API (useTaggorData) with consent.