Analytics
See what each signed-in user does in your sites, apps, and AI agents with Appwrite Analytics, from the Analytics tab of a user in Auth.
3 min read
Appwrite Analytics can link the events your sites, apps, and AI agents send to the users in Auth. Each user then gets an Analytics tab with their activity across every property in the project: how often they come back, which pages or screens they open, and which events they send.
Events record the user ID only, never an email address or a name. Anonymous visitors aren't affected.
Identify signed-in users

- In your project, open Analytics and select a property. To create one, see Properties.
- Open the Settings tab.
- Under User identification, turn on Identify signed-in users. The change saves right away.
From then on, each event the property receives from a signed-in Appwrite session carries that user's ID. Events received before the change stay anonymous. Turn the setting on only if your privacy policy covers linking analytics to user accounts.
Your server can also attach a user ID to the events it sends with an API key. See Track events from your server.
Read a user's activity

Open Auth, select a user, and open the Analytics tab. It covers the last 30 days.
- Events, Visits, and Pageviews, each with the change from the previous 30 days. Pageviews reads Screen views when every listed property is a Mobile property, and Views when Mobile properties are mixed with others. When every listed property is an Agent property, there's no views count.
- Active days: the days with at least one event from the user.
- Last seen: when the user was last active, and in which property.
- Activity: the user's events per day, split by property.
- Properties: each property the user was active in, with their events, visits, views, and when they were last active.
A property is listed when it identifies signed-in users, or when your server sent events with this user's ID.
Property details

Click a property in the Properties table to see the user's activity there. The lists depend on the property's type:
- Web: Pages, Events, Sources, Locations, Browsers, and Operating systems.
- Mobile: Screens, Events, Locations, Devices, Operating systems, and OS versions.
- Agent: Events, Models, and Tools.
Events lists the custom events the user sent, such as add_to_cart. See Track custom events.
Open a user in a property

Click the arrow at the end of a property's row to open the user's page in that property. It has its own date range, and shows the user's visits, events, when they were last seen, and their custom events. On Web and Mobile properties, it also shows their views and their top pages or screens.
From the dashboard

The Users card on a property's dashboard ranks signed-in users by visits. Click a user to open their page in that property. The Users metric at the top of the dashboard counts distinct signed-in users. See Metrics.
Was this page helpful?
Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.