Privacy and GDPR
This page answers the questions a store usually has to answer for its own GDPR records: where eChat runs, which data leaves your store, how long it is kept, how to delete it, and how the widget fits a cookie consent banner.
Under the GDPR your store is the controller of your shoppers' data and Mirasvit, running the eChat service, is its processor. The terms of that processing are set out in the eChat Data Processing Agreement.
Where eChat runs
The eChat service is hosted in Canada. The European Commission recognises Canada as giving personal data adequate protection, so no further transfer safeguards are needed for EU data stored there.
Replies are written by the AI provider you connect in the eChat backend with your own API key: OpenAI, Anthropic, Google Gemini or xAI (see AI providers). That provider works under your own agreement with it, not under Mirasvit's. eChat uses no other third-party AI, analytics, vector database or CDN for your shoppers' data.
What leaves your store
| When | What is sent to eChat |
|---|---|
| The nightly sync | Catalogue and store content only: enabled, visible products, categories, CMS pages, store contact details, Knowledge Base articles and published blog posts. No customers and no orders. |
| A visitor opens a page with the chat widget | A visitor ID and a session: the pages seen (URL, title, referrer), the IP address, an approximate location derived from it, and the browser. With Track visitors at From the first page view (the default) this happens for every visitor the widget loads for, whether they chat or not. With Only once they open the chat it starts when the visitor opens the chat (see below). |
| While a visitor chats | Their messages and uploaded files; the page URL and title; the IP address, an approximate location derived from it, and the browser. |
| A signed-in customer chats | In addition: their name and email, the current cart, and their last 5 orders (number, date, total, status). |
| The visitor asks about an order | That order is looked up live in your store: status, items, totals, tracking, and a partial shipping address (name, city, region, postcode, country - never the street or phone). A guest first confirms their email with a code your store sends. See Order lookup. |
The messages and the context above are passed to your AI provider to write the reply.
With live chat on, eChat also keeps:
- your team's replies and the files they attach;
- the name, email and phone number your team saves for a visitor;
- a left message, with the email and the optional name the visitor gives.
Emails about waiting visitors and left messages go to your Notification emails and contain the visitor's message. The email about a left message also carries the chat before it, with the files the visitor sent there. While a person handles a conversation with AI drafts on, the conversation is also passed to your AI provider to write the drafts.
All of this belongs to the conversation or the visitor, so it is deleted with them, by Keep conversations for and by the deletes below.
A blocked IP is kept, with its reason and the name of who blocked it, until you unblock it. Deleting conversations does not remove it.
What the widget stores in the browser
The widget sets no cookies. It keeps these keys in the browser's local storage, each prefixed with echat_<instance ID>_:
| Key | Purpose |
|---|---|
visitor | A random visitor ID, or the customer ID of a signed-in customer, so a returning visitor keeps their conversation. |
session | The current chat session. |
route | Which chat screen is open, so the chat stays open while the visitor moves between pages. |
expanded, sound_muted | Whether the chat window is expanded and whether its sound is muted. |
EU consent rules treat local storage like cookies, so list these under your cookie declaration, and use Load the widget to hold the widget back until the visitor consents.
With Track visitors at Only once they open the chat, none of these keys is written until the visitor opens the chat.
What the extension keeps in your store's database
To check a guest's email before an order lookup or a ticket, the extension keeps a short-lived record in your Magento database, in the table mst_echat_email_verification:
| Column | Content |
|---|---|
email_hash | A SHA-256 hash of the email. The address itself is not stored. |
code, code_created_at, code_expires_at | The one-time code sent to the email. It is cleared once used and stops being accepted after 30 minutes. |
verified_expires_at | Until when the email counts as confirmed, so the shopper is not asked again for an hour. |
A row is removed as soon as both its code and its confirmation have expired.
Tracking only once the chat is opened
In the eChat backend, Settings > Data & privacy > Track visitors decides when eChat starts storing data about a visitor (see Settings). With Only once they open the chat:
- Before the visitor opens the chat, the widget loads its settings and shows its button. It creates no visitor ID and no session, records no pages and writes nothing to the browser's storage, and eChat stores nothing about the visitor.
- When the visitor opens the chat, in any way, eChat creates the visitor ID and the session, and the widget writes the keys above. The pages are recorded from the page the chat was opened on; pages viewed before are not.
- A visitor who has chatted before, and so already has a visitor ID in their browser, is tracked from their first page, as with From the first page view.
Your store's own code can still call the JavaScript API before the visitor opens the chat. The details it sets are held back until then.
Until the chat is opened, nothing is read from or stored in the visitor's browser, and what is stored afterwards serves the chat the visitor asked for. Some stores leave Load the widget at Always with this mode, without a consent banner for the chat. Whether that fits your own consent policy is your store's decision.
Cookie consent
Set Stores > Configuration > Mirasvit Extensions > eChat > Widget > Load the widget:
- Always - the widget loads on every page, as before.
- After Cookiebot consent - Cookiebot releases the widget once the visitor accepts the Cookiebot category you choose (Preferences by default).
- After Magento cookie consent - the widget waits for Allow Cookies in Magento's cookie notice. This needs Stores > Configuration > General > Web > Default Cookie Settings > Cookie Restriction Mode set to Yes.
- After a call from another consent tool - for OneTrust, Usercentrics, Klaro or any other tool. The widget waits until the page does one of these when the visitor accepts:
// call the function
window.mstEchatConsent();
// or dispatch the event
document.dispatchEvent(new Event('mst-echat-consent'));
// or, when consent is already known before the page loads, set the flag
window.mstEchatConsentGiven = true;
Until consent is given, nothing is loaded from eChat and nothing is stored in the browser.
How long data is kept
Browsing data of a visitor who never started a conversation (the pages seen, IP address, location and browser) is deleted 90 days after their last visit, whatever Keep conversations for is set to. With Track visitors at Only once they open the chat there is no such data for a visitor who never opened the chat. A chat the visitor opened and left without writing counts as no conversation: it is deleted with that data.
By default conversations are kept until you delete them. To keep them for a fixed time, open the eChat backend, Settings > Data & privacy > Keep conversations for, and choose a period. Every day eChat deletes the conversations whose last message is older, together with the visitor data they leave behind: browsing history, location and device. See Settings. While a conversation is kept, so is the browsing data it shows: the visitor's pages, location and device.
A file a visitor uploads but never sends is deleted after a day.
When you remove a workspace, or delete it with Delete Workspace in the Account panel in Magento, the workspace's data is kept for 30 days so an accidental removal can still be undone on request, and is then permanently deleted. Billing records are kept.
Giving a shopper a copy
To answer an access request, filter Conversations by Visitor email and click Export CSV with a range that covers their conversations. The filter matches the email eChat has on file for the visitor: a signed-in customer's, one the visitor gave when leaving a message, or one your team saved in live chat. Unlike Erase a shopper's data below, it does not find a guest's conversations where the email was only typed into a message.
Deleting data
All deletes are permanent.
- One conversation - open it in Conversations and click Delete conversation.
- A visitor and everything they left - on their conversation, click Delete visitor data.
- A shopper's erasure request - in Settings > Data & privacy > Erase a shopper's data, enter their email. eChat shows how many conversations and messages it found, then deletes them whole: all conversations of a visitor eChat has that email on file for (a signed-in customer, a visitor who left a message, or one whose email your team saved in live chat), and every conversation where a guest typed that email or gave it for an order lookup, a verification code or a ticket. Deleting the whole conversation also removes the order, name and address that followed the email. A guest's other conversations that never mention the email are kept, and so is their browsing history while those conversations remain.