> AI agents: this is one page of nextanalytica's docs. The full index for agents: https://nextanalytica.app/llms.txt

# Can analytics without cookies count unique visitors?

> Without cookies, a visitor is counted with a code that changes every day. What that means for unique visitors, and what changes after a yes.

Updated: 2026-12-01

Within a day, yes. Before consent, nextanalytica counts a visitor with a code made from a daily salt, your project, the IP address and the browser, so the same person counts once a day but twice on two days. After a yes, the tag keeps a first-party id, and the same person on two days counts once.

## How do you do it?

1. Add the tag to your site, or ask your agent "Add nextanalytica to my site": it calls `get_tag`, shows you the change and asks before committing.
2. Pass your banner's answer with `consent()` on every page.

## What can you ask your agent?

- "How many visitors did we have this week?"

## Next steps

- [Cookieless counting and consent](/docs/tracking/cookieless-and-consent)

Canonical address: https://nextanalytica.app/docs/answers/unique-visitors-without-cookies
