Visitor Analytics records activity without identifying visitors so OTTO can understand how people use your pages. It can wait for consent, and you can stop it completely for one site.

## How consent works

Visitor Analytics does not show its own consent banner. It reads the visitor's time zone and the consent choice already made in your site's consent tool.

- **EEA, UK, Switzerland, Brazil, Quebec, and Ontario:** nothing is loaded, sent, or stored until analytics consent is granted.
- **United States:** page analytics can run. Heatmaps and session recording start only after consent, beginning with the next full page load.
- **Everywhere else:** collection runs unless the visitor refuses.

A refusal stops everything in every region.

These defaults do not cover every country whose law may require consent, for example Australia, Japan, South Korea, or India. In those countries your site's own consent tool decides what is collected.

**Known issue:** the Ontario default does not yet cover northwestern Ontario (the Atikokan and Winnipeg time zones). A fix is in progress.

These tools are read automatically:

- **Google Consent Mode:** a visitor update that sets `analytics_storage` to `granted` or `denied`. A default value does not count.
- **IAB TCF v2.2 tools**, including common Cookiebot, OneTrust, Didomi, and Usercentrics setups: purposes 1 and 8 must both be granted. If either is refused, collection stops.

For another consent tool, set this value when the visitor makes a choice:

```html
<script>
window.__ottoAnalyticsConsent = true; // or "granted" after acceptance
window.__ottoAnalyticsConsent = false; // or "denied" after refusal
</script>
```

**Warning:** Do not block the OTTO script in your consent tool. The same script applies OTTO's SEO changes, so if the script is blocked for crawlers, they will never see those changes. See [OTTO Shows Not Installed After Consent](https://help.searchatlas.com/hc/searchatlas-help/articles/1795015968-otto-shows-not-installed-after-consent).

## What it collects

Depending on the settings enabled for the site, Visitor Analytics may collect:

- page views;
- clicks and scrolling;
- heatmaps; and
- a sample of session recordings.

It does not use cookies, does not store IP addresses, and masks text and form fields. Images and media are blocked from recordings, and account and checkout pages are not recorded. Add the `data-otto-no-replay` attribute to an element to hide it from recordings. Do Not Track and Global Privacy Control always stop collection. Data is kept for up to 30 days.

## Stop collection before consent

Set this before the OTTO script loads:

```html
<script>
window.__ottoAnalyticsDisabled = true;
</script>
```

Nothing is loaded or sent. If you set it after the script has loaded, collection stops from that moment and the recording ends. This works on the standard script tag, WordPress plugin, and Cloudflare installs.

For the standard script tag only, you can instead add `data-analytics="off"`:

```html
<script id="sa-dynamic-optimization" data-analytics="off" ...></script>
```

The attribute is read only from a tag whose id is `sa-dynamic-optimization`, `sa-dynamic-optimization-loader`, `sa-otto`, or `searchatlas`. WordPress plugin and Cloudflare installs must use `window.__ottoAnalyticsDisabled`.

## Turn it off for one site

1. Open **OTTO**.
2. Open the site.
3. Open **Settings**.
4. Open **Visitor Analytics**.
5. Turn **Visitor analytics** off.

Turning it off does not affect SEO. Turning it off deletes the page views, heatmaps, and recordings already collected for that site. You do not need to send a deletion request. Deleting the OTTO site also deletes that site's collected data. Turning it back on starts again with no previous data.

Everything collected is also deleted automatically after at most 30 days.

**Warning:** Deleted data cannot be recovered. Download the export before you turn Visitor analytics off, delete the site, or close your account (see below).

The same settings page has separate **Heatmaps** and **Session replay** controls. Turning off only one of them stops that kind of collection, but it does not delete the data already collected.

## Download the collected data

Download the export first if you plan to turn Visitor analytics off, delete the site, or close your account. Go to **Settings**, then **Visitor analytics**, and click **Export data**. The export is built on request and emailed as a link that works for 7 days. The export is a ZIP containing the raw data files. After an account closes, you can still ask privacy@searchatlas.com in writing for the data we still hold.

## Need help?

Open the chat widget in the bottom-right corner and include the site, the install type, and the consent tool you use.
