# Privacy and deleting data > Erase a visitor's data for a privacy request, delete a website or your whole account, what is kept and removed, consent mode and the status of cookieless mode. Source: https://supametrics.io/docs/privacy-and-data This page covers removing data from Supametrics: one visitor's data (for a deletion request from one of your own visitors), a whole website, or your whole account. It also explains the privacy options for your tracking script. For what the script collects in the first place, see [What Supametrics collects](https://supametrics.io/docs/how-tracking-works). ## Erase a person Use this when someone who visited your website asks you to delete their data, for example under the GDPR "right to erasure". Only the website's owner can erase data; members and viewers can't. You can start an erasure from two places: - **Site settings › Security** (`/settings/security`): **Erase a person**. - The **Visitors** screen: **Erase a person** at the top, or **Erase this person** in a selected visitor's details, which fills in their email address or visitor ID for you. See [Visitors and visitor profiles](https://supametrics.io/docs/visitors). ### How it works 1. In **Erase a person**, enter an **Email, user ID or visitor ID**. It must be an exact match. 2. Click **Find**. Supametrics shows what it found, for example "Found 2 visitor IDs with 1 payment. This can’t be undone.", or "Nobody matches that." 3. Click **Erase** to delete. The app confirms with "Erased 2 visitor IDs". If you change the search text after **Find**, you have to find again before you can erase. ### Find people by email or your own user ID One person can have a different visitor ID in each browser or device. Supametrics can only link them, and find them by email or by your own user ID, if your site tells it who they are. Call this after the person signs in: ```js window.analyticsx?.('identify', { id: 'user_123', email: 'jane@example.com' }); ``` Without `identify`, you can only erase by visitor ID. See [Tracker JavaScript API](https://supametrics.io/docs/tracker-javascript-api). ### What is erased and what is kept Erasing searches all time, not just a date range, and removes: - every visitor ID that matches, across all of the person's browsers that `identify` linked - their visits (sessions), pageviews and goal completions - their identity: the visitor record with the email, user ID and other details your site sent It keeps: - their **payments** and **subscriptions**, because they are your business's financial records. They stay in your revenue numbers but are no longer linked to the person. The source and campaign recorded when the payment came in stay on the payment. Erasing is permanent. Supametrics can't restore erased data. ## Delete a website Only the owner can delete a website. 1. Open **Site settings › General**. 2. Click **Delete website** at the bottom. 3. Type the website's domain to confirm, then click **Delete website**. The dialog warns: "This permanently deletes the website and all its analytics, payments, goals, alerts and settings. This can’t be undone." Deleting a website removes: - all its visits, pageviews, events, visitors, payments and subscriptions - its goals, funnels, segments, notes, alerts, exclusions, extra domains, icon, product names and bot settings - its team: invitations and everyone's access to it - its website API keys, and the website from any account API token that was limited to it - the record of emails sent about it The tracking script on your pages stops counting anything once the website is gone. Remove the snippet from your site as well. ## Delete your account Open **Account › General** and click **Delete account** at the bottom, then confirm. See [Account and sign-in](https://supametrics.io/docs/account#delete-your-account). Deleting your account: - cancels any paid subscription in Stripe right away (if that fails, nothing is deleted and you're asked to try again) - deletes every website you own, with everything listed under [Delete a website](#delete-a-website) - deletes your API tokens, account preferences, billing settings, feature suggestions, sessions and sign-in methods (password and connected Google account), and your login itself - removes your access to websites other people shared with you, and the invitations you accepted What stays: - Websites owned by other people are not affected, even if you were a member of them. - For invitation emails you sent, Supametrics keeps only the recipient address and the time it was sent, without your name or the message, so the daily limits on invitation emails can't be reset by deleting an account. - Invoices and payment records held by Stripe follow Stripe's own retention. ## Automatic deletion of old data Supametrics keeps each website's full-detail history for as long as the owner's plan says, then deletes it: | Plan | Data retention | | --- | --- | | Starter | 13 months | | Growth (and the free trial) | 25 months | | A package | The data retention its card lists ("Data retention 3 years"); see [Packages and prices](https://supametrics.io/docs/billing#packages-and-prices) | Every hour, data older than the plan's history **plus 30 days** is deleted. The extra 30 days mean you always have at least the full period your plan promises, even right after a plan change. Large backlogs are cleared a bit at a time over a few hours. Deleted data can't be recovered. What is deleted once it is old enough: - Pageviews, goal completions, custom events and exit-link clicks. - Sessions (each visit's source, landing page, location and device). - Bot and AI crawler hits. - Unmatched event names on the Goals screen. - History imported from DataFast (see [Import from DataFast](https://supametrics.io/docs/import-from-datafast)), day by day. - Visitors with no visits left and no payment, including the name and email from `identify`. What is kept: - Payments and subscriptions, with the source and campaign they were credited to, so revenue numbers for old periods stay as they were. - A visitor that a kept payment still points to. - Your settings, goals, funnels, segments, notes and team. The retention follows the plan of the website's owner. If you move from Growth to Starter, data between 13 and 25 months old is deleted about a month later. A raw data export isn't available yet; the [REST API](https://supametrics.io/docs/rest-api) can save the aggregate reports (totals, breakdowns, time series) you want to keep. ## Consent mode If your site uses a cookie consent tool, turn on **Wait for cookie consent** when you copy the snippet (in **Site settings › General** or on the setup screen). It adds `data-consent="required"` to the script: ```html ``` With it, the script sends nothing and sets no cookies until your consent tool calls: ```js window.analyticsx?.('consent', true); ``` Call it with `false` when a visitor withdraws consent. See [Install and verify the script](https://supametrics.io/docs/install-the-script). ## Cookieless mode **Cookieless / privacy mode** is shown in the install settings with a **Soon** tag. It's coming soon and does not do anything yet. Today the script keeps its own first-party cookies on your domain. Use [consent mode](#consent-mode) if you need to wait for consent. ## Other privacy settings - **Exclusions** keep your own visits and chosen IP addresses, paths, hostnames and countries out of your stats. See [Exclusions](https://supametrics.io/docs/exclusions). - **Site settings › Security** also shows **Attack mode**, which is marked **Soon**: its switches are disabled and do nothing yet. See [Security settings](https://supametrics.io/docs/settings-security). ## Our affiliate program Supametrics' own pages (not your site, and not the tracking script you install) load OpenPromoter, the service that runs our affiliate program. When you arrive through a partner's link it remembers that click, and when you create an account or pay for a plan it tells OpenPromoter your email or links the payment to that click, so the partner is credited. If you didn't come through a partner link, nothing is credited to anyone. ## Common questions **A visitor asked for their data to be deleted, but I don't know their visitor ID.** If your site calls `identify` with their email or user ID, search for that. Otherwise ask them for their visitor ID; your site can show it with `window.analyticsx?.('visitorId')`. **Does erasing a person change my revenue?** No. Their payments stay in your revenue, without the link to them. **Can I undo deleting a website or account?** No. Both are permanent. **Can a member erase visitors?** No. Only the website's owner can erase a person's data. Members see "Only the website’s owner can erase a person’s data." --- This is one page of the Supametrics help center (section: Account and billing). - Index of every page: https://supametrics.io/llms.txt - Every page in one file: https://supametrics.io/llms-full.txt