# UNSAFE_COOKIE_ACCESS: Component reads the page's cookies

> Component reads the page's cookies

> Esta página ainda não tem tradução para o português; este é o texto em inglês. (This page is not translated yet: the English text follows.)

| Severity | Fault                         | Stage        |
| -------- | ----------------------------- | ------------ |
| error    | customer (the source package) | build output |

## 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

Remove the cookie access. To remember something about the visitor, use the component's props or the Taggor data API (useTaggorData) with consent.
