Skip to content

Privacy_

What Appwrite Analytics collects and stores for each event, how visitor IDs work without cookies, and the controls you have over tracking and data.

3 min read

Raw

Appwrite Analytics works without cookies and doesn't store IP addresses. This page lists what it collects, what it keeps, and the controls you have, so you can describe your analytics accurately to your users.

No cookies or device storage

Appwrite doesn't set cookies for analytics, and the tracking helpers in the Web and Flutter SDKs don't keep identifiers on the device. In the browser, the Web helper doesn't write to localStorage, sessionStorage, or any other storage. Each event is a single request that carries the event's details.

Appwrite identifies visitors from the request instead. See Visitor IDs.

What Appwrite stores

For each event, Appwrite stores:

  • The event: its name, the time it arrived, and any props you send.
  • The page: the URL's hostname and path. The query string and fragment are removed, after Appwrite reads UTM parameters from the query string.
  • The referrer: the referrer URL as the client sent it. Most browsers send only the referring site's origin, such as https://www.google.com/, when a visitor comes from another site.
  • The location: country, region, and city, derived from the IP address.
  • The device: the full user agent, and the browser, operating system, and device type derived from it. Also the screen size category from the viewport width.
  • Engagement: scroll depth and engagement time, when the client reports them.
  • Identifiers: a visitor ID and a session ID, which are hashes, and the userId your server sends, if any.
  • Bot details: whether the client is a bot, and its name and category.

Appwrite uses the IP address to look up the location and to compute the visitor ID, then discards it. The IP address isn't stored with the event.

Visitor IDs

A visitor ID is a one-way hash of the IP address, the user agent, and the hostname of the event. The hash uses a fixed salt, so the same visitor on the same network and browser keeps the same ID over time. That's what lets Unique visitors count a returning visitor once.

Appwrite doesn't store the IP address, and visitor IDs don't appear on the dashboard, in exports, or in API responses. An ID changes when any of the three inputs change, for example when a phone switches networks. For how IDs shape your numbers, see Visitors and sessions.

Data you send

You decide what goes into event names, props, URLs, and user IDs. Keep personal data such as names, email addresses, and phone numbers out of them. In URLs, that includes query parameters: Appwrite drops the query string from the stored path, but it keeps the full URL of a referrer.

User IDs are only accepted from requests with an API key, so a browser can't attach one. See Track events from your server.

Do Not Track

The Web helper sends no events for visitors who have Do Not Track turned on in their browser. It checks the Do Not Track setting only, not Global Privacy Control. You can turn this off with the respectDoNotTrack option. See Track a website.

When you send events over REST or from your server, it's up to your code to honor the visitor's choices.

Retention and deletion

Appwrite stores analytics events for 180 days on every plan, then deletes them. Your plan's retention period sets how much of that history you can see. See Limits and retention.

Deleting a property permanently deletes every event and visit stored for it. To stop collecting without deleting, turn the property off in its Settings tab. Appwrite then rejects new events and keeps the existing data. See Properties.

Was this page helpful?

Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.