Skip to content

Site settings

Security settings

The Security tab of Site settings, where the owner erases a person's data for a deletion request; Attack mode is coming soon.

View as Markdown

The Security tab, at /settings/security, is for privacy requests. Open it from Site settings › Security.

Only the website's owner can use this tab. Members see it with the controls disabled and the note "Only the website's owner can erase a person's data." Viewers see it read-only.

Attack mode

Marked Soon. Attack mode will block bot and spam traffic surges from being counted while your site is under attack, with an option to Turn on automatically when a traffic spike is detected. Neither switch works yet; both are disabled.

Until then, you can drop unwanted traffic by IP address, path, hostname or country under Exclusions. To be told about sudden surges, turn on the traffic spike email under Email reports and alerts.

Erase a person

Use this when someone asks you to delete their data (for example under GDPR). It removes their visits, goals and identity from all time, on every browser. Payments stay in your revenue without the link to them.

  1. Click Erase a person.
  2. In Email, user ID or visitor ID, enter one of:
    • the email address your site passed for them,
    • your own user ID for them, or
    • their AnalyticsX visitor ID (shown in their visitor profile).
  3. Click Find. AnalyticsX shows how many visitor IDs match, and how many payments are linked to them, for example "Found 2 visitor IDs with 1 payment. This can't be undone." If nothing matches, it says "Nobody matches that."
  4. Click Erase to delete them.

The search is an exact match. Email and user ID only work for visitors your site identified (see below). One person can have several visitor IDs, one for each browser or device they used; when they were identified on each, an email or user ID search finds all of them.

What is deleted

  • Every pageview, event and goal completion from those visitor IDs.
  • Their sessions (with their sources, pages, locations and devices).
  • Their visitor profiles, including the name, email and user ID your site passed.

What is kept

  • Their payments stay in your revenue totals, but are no longer linked to the person, so they no longer count toward any source or page. The same applies to their subscriptions.

Erasing cannot be undone. If the person visits your site again, they are tracked as a new, anonymous visitor.

You can also erase a person from their profile on the Visitors screen. See Visitors and visitor profiles and Privacy and deleting data.

Identify visitors for privacy requests

To find a person by email or by your own user ID, your site needs to tell AnalyticsX who they are. Call this after they sign in:

window.analyticsx?.('identify', { id: 'user_123', email: 'jane@example.com' });

Without it, you can still erase someone, but only by their visitor ID. The full identify call is described in Tracker JavaScript API.