Cookies and consent in ALEAN
Last updated: 17 October 2026
This notice explains what the ALEAN widget stores in a shopper's browser, and how it follows the shopper's choice in the store's cookie banner. It's part of our Privacy Policy.
In short
- ALEAN sets no cookies.
- The widget uses the browser's local storage and session storage (tab-only storage) for things the shopper asks it to do, such as staying signed in and keeping their chats.
- Analytics follow the shopper's choice in the store's cookie banner, which Shopify manages. If the shopper declines analytics, the widget still works, but ALEAN records no analytics about them.
- ALEAN has no advertising or marketing trackers, and never sells data.
- In the widget: We're rolling out (October 2026) a line under the widget's Ask bar, on every screen and led by the ALEAN mark, that reads "ALEAN is AI and can make mistakes · Privacy". It links to the store's privacy policy (or ALEAN's, if the store has none), and "How ALEAN uses data" in the widget's menu links to ALEAN's privacy policy.
Your choice
ALEAN reads the choice you made in the store's cookie banner, through Shopify's customer privacy settings.
- If you allow analytics, the widget creates a random device id and records how you use it: clicks, add-to-carts and how useful its answers were. This helps the store improve.
- If you decline analytics, the widget doesn't create a device id and removes one it created before. ALEAN doesn't record clicks, doesn't keep a server copy of your chat for analytics, and doesn't save your preferences. The assistant, sign-in, order tracking and returns all still work.
- If you change your mind, use the store's privacy or cookie settings link. A new choice applies from that moment.
- Where the store doesn't need to ask (for example, where the law doesn't require a banner), Shopify treats analytics as allowed.
- If Shopify's consent tool can't load, the widget waits up to 5 seconds, then doesn't create a device id or send click analytics. ALEAN may still record your question, with the session id for that tab.
What the widget stores in your browser
Needed for what you ask the widget to do
These are used whatever your analytics choice, because the features need them.
| Name | Where | What it's for | How long |
|---|---|---|---|
alean_auth_<store> | Local storage | Keeps you signed in to the widget (a signed token, your email and Shopify customer id) | 30 days, or until you sign out of the widget. Today, signing out of the store's account doesn't sign you out of the widget, so on a shared device sign out in the widget too. Rolling out (October 2026): 7 days for email-code sign-ins, and signing out of the store signs you out of the widget |
alean:v2:index, alean:v2:conv:<id>, alean:v2:active, alean:v2:resume | Local storage | Your recent chats on this device, so you can pick them up again | Up to 20 conversations; each deleted after 30 days. Order details are removed when you sign out |
alean:nav | Local storage | Which screen you were on, so the widget reopens where you left off | Until cleared |
alean:keyboard | Local storage | Your phone's keyboard height, so the widget fits the screen | Until cleared |
alean_ex_v2_<store> | Local storage | An exchange you've started and not finished (item, size, hold expiry) | Until the hold ends |
ai_search_session_id | Session storage | Keeps one conversation or return together in this tab | Until the tab closes |
alean_ca_buyer_<store> and other alean_ca_* items | Session storage | Signing in with your Shopify customer account | Until the tab closes, or the sign-in expires (hours) |
alean_cart_id | Session storage | The cart the widget adds products to | Until the tab closes |
alean_island_v1_<store>, alean_ex_said_<store>, alean_island_intro_v1 | Session storage | What the ALEAN button shows (for example a payment due on an exchange), and whether its intro has played | Until the tab closes |
Analytics (only with your consent)
| Name | Where | What it's for | How long |
|---|---|---|---|
ai_search_customer_id | Local storage | A random device id that links your widget visits for analytics | Until you decline analytics or clear your browser |
ai_search_session_id (copy) | Local storage | Lets ALEAN's Shopify web pixel link store pages viewed to the widget session | Until you decline analytics or clear your browser |
ALEAN's Shopify web pixel
If the store switches on ALEAN's web pixel, Shopify runs it in a sandbox and only with analytics consent. It records store pages viewed, searches, carts and checkouts, and sends them to ALEAN. It keeps its own tab-only session id (ai_pixel_session).
What happens on ALEAN's servers
Requests the widget makes to ALEAN carry your IP address and browser type, as every web request does. ALEAN uses the IP address to limit sign-in attempts and passes it to Shopify with cart requests. Search records don't store your IP address; they keep the browser type. See How long we keep data.
For merchants: what to put in your privacy policy
Your store's privacy policy should mention ALEAN. You can adapt this:
We use ALEAN, a Shopify app, for order tracking, returns and exchanges, and a shopping assistant on our website. The shopping assistant is an AI assistant. When you use these features, ALEAN processes your order details, the questions you ask, and your contact details for us, and stores some information in your browser so the features work. With your consent, it also records how you use the assistant to help us improve it. ALEAN doesn't sell your data or use it for advertising. See ALEAN's privacy policy: https://alean.ai/privacy.
Make sure your Shopify customer privacy settings (Settings → Customer privacy) show a cookie banner in the regions where the law requires consent. ALEAN follows the choice shoppers make there.