> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getsmartalex.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.
> For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.
> Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.
> Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.
> If a feature or screen is not described in these docs, say that you could not find it rather than guessing.
> Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.
> The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview.

# Widget Cookie and Storage

> What the SmartAlex chat Widget stores in a visitor's browser, why, for how long and whether it needs consent.

This page lists everything the SmartAlex Widget keeps on a visitor's device, why it is kept, how long it lasts and whether consent is needed. The Widget sets no cookies. It uses the browser's localStorage and sessionStorage on the page where the business installed it.

> [!NOTE]
>
> **Version 1.1, effective 29 October 2026.** This page is a plain-English summary. The binding text is the full document at [getsmartalex.com/legal/widget-cookie-and-storage](https://getsmartalex.com/legal/widget-cookie-and-storage), and it prevails over anything on this page.

> [card] [Read the full Widget Cookie and Storage](https://getsmartalex.com/legal/widget-cookie-and-storage)
>
> The binding text, version 1.1. Select **Download PDF** on that page for a printable copy.

## Who does this apply to?

Visitors to a website where a business has installed the SmartAlex Widget, and the businesses that install it.

## What are the key points?

* The Widget sets no cookies and no first-party cookie. It uses localStorage and sessionStorage only.
* A random visitor identifier is kept until cleared, so a returning visitor's conversation continues.
* Chat history and open state are kept for 7 days, so a conversation survives page changes.
* A summary and contact details the visitor gave are kept until cleared, so a later visit does not ask again.
* The visitor's marketing choice is remembered until changed or cleared, and is treated as strictly necessary because it records the choice.
* Campaign parameters and advertising click identifiers from the page address are held for the browser session only. They are sent on only with marketing consent and never under Global Privacy Control.
* A marker that an event was already sent to the business's tag manager lasts for the browser session. The event is sent only where the business's own tags allow.
* Whether the visitor shrank the widget is remembered for the browser session. The pages where the visitor hid the widget are remembered for 30 days per page.
* Strictly necessary and functional storage is set without prior consent because it carries out what the visitor asked for. Marketing use of attribution data is off by default, is blocked by Global Privacy Control, and stops being sent when consent is withdrawn.
* The visitor's Your data panel lets them clear this storage.

## What do you need to do?

* As a visitor, open the Your data panel in the Widget to clear what it has stored.
* As the business that installs the Widget, make sure your own tags allow the events you want sent. The Widget sends them only where your tags allow.

## Questions people ask

> [accordion] Does the Widget set cookies?
>
> No. It sets no cookies. It uses the browser's localStorage and sessionStorage on the page where the business installed it.

> [accordion] How long is my chat history kept on my device?
>
> Chat history and open state are kept for 7 days. The visitor identifier and the summary and contact details you gave stay until you clear them.

> [accordion] Is marketing tracking on by default?
>
> No. Marketing use of attribution data is deny by default. It is sent on only with marketing consent and is never sent under Global Privacy Control.

> [accordion] How do I clear what the Widget stored?
>
> Use the Your data panel in the Widget, which lets you clear this storage.

## Related

> [card] [All legal documents](https://docs.getsmartalex.com/legal.md)
>
> Every SmartAlex legal document, grouped by what it covers.

> [card] [Cookie Policy](https://docs.getsmartalex.com/legal/cookie-policy.md)
>
> How SmartAlex uses cookies and similar browser storage on its website and web app, and how you can control them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.