# Analytics and logs

> See who visits your app, track custom events, and review what happens behind the scenes.


## Analytics

**Dashboard → Analytics** shows page views per day, unique visitors, top pages and top custom events for the last 7, 14 or 30 days.

- **Page views** are recorded automatically for every page load — no code needed.
- **Visitors** are counted anonymously with an identifier that changes daily; raw IP addresses are never stored.
- **Custom events** come from your app: "track when someone completes checkout" adds `ds.analytics.track({ eventName: "checkout_completed" })`.

## Logs

**Dashboard → Logs** lists recent activity with its level (info, warning, error):

- sign-ups, sign-ins and failed sign-in attempts,
- integration calls (AI, images, email, uploads),
- automation runs and their results,
- requests that failed because of permissions or errors,
- anything your backend functions write with `ds.log()`.

Click an entry to see its details. Filter to warnings and errors when something seems wrong.
