# Appwrite Analytics vs PostHog: a cookieless PostHog alternative

> Compare Appwrite Analytics and PostHog for web analytics. No cookies, no stored IP addresses, daily-rotating visitor IDs, bot and AI traffic built in, and your backend and hosting in the same project.

- HTML: https://appwrite.io/alternative-to/posthog
- Competitor: PostHog (Product analytics suite)
- Facts verified: October 2026

## Privacy defaults

| Feature | Appwrite | PostHog |
| --- | --- | --- |
| Cookies | None (No cookies or browser storage, ever) | By default (Cookieless mode is opt-in) |
| Raw IP addresses | Never stored (Used for location, then discarded) | Partial (Discard is a project setting) |
| Visitor identifiers | Rotate daily (No cross-day tracking) | Persistent (Built for identifying users) |
| Do Not Track and GPC | Yes (Honored by default) | Partial (Do Not Track is an SDK option) |
| Query strings in stored URLs | Stripped (Except campaign parameters) | Kept (Redact in your own code) |

## Web analytics

| Feature | Appwrite | PostHog |
| --- | --- | --- |
| Visitors, pageviews, bounce rate, duration | Yes | Yes |
| Sources, UTM campaigns, pages, locations, devices | Yes | Yes |
| Custom events with properties | Yes | Yes |
| Server-side tracking | Yes | Yes |
| Bot and AI agent breakdowns | Yes (Shown by default, on the main dashboard) | Yes (Query-time classification) |
| Funnels, retention, and cohorts | No | Yes |
| Session replay, feature flags, experiments | No | Yes |

## Platform

| Feature | Appwrite | PostHog |
| --- | --- | --- |
| Backend in the same project | Yes (Auth, databases, storage, functions, hosting) | No |
| Traffic on your hosting dashboard | Yes (On every Appwrite Site) | No |
| Turn a value into a firewall rule | Yes (Country, path, or bot to a Firewall rule) | No |
| Free monthly allowance | 50,000 events (Free plan, then $3 per 100K on Pro) | 1M events (Then usage-based) |
| Open source and self-hostable | Partial (Appwrite is; Analytics is Cloud only) | Yes (MIT-licensed core) |

## When PostHog might still fit

PostHog is a broad product toolkit, and Appwrite Analytics is focused web and app analytics. PostHog may suit you better if these apply.

- You need funnels, retention, cohorts, or paths across identified users.
- You want session replay, feature flags, experiments, or surveys in the same tool.
- You track at high volume and the 1M free events a month cover most of it.
- You need to self-host your analytics. (Appwrite itself is open source, but Analytics runs on Appwrite Cloud.)

## Related reading

- [Appwrite Analytics](https://appwrite.io/products/analytics): Cookieless web and app analytics, bots and AI included.
- [Privacy and data](https://appwrite.io/docs/products/analytics/privacy): What Analytics collects, stores, and never stores.
- [Server-side tracking](https://appwrite.io/docs/products/analytics/server-side): Send events from your backend or an Appwrite Function.
- [Appwrite Sites](https://appwrite.io/products/sites): Host your site and see its traffic in the same project.
- [Appwrite Firewall](https://appwrite.io/products/firewall): Block or rate limit the bots you find in Analytics.
- [Appwrite Auth](https://appwrite.io/products/auth): Users and sessions next to the events they create.

## FAQ

### Is Appwrite Analytics a good PostHog alternative?

For web and app traffic analytics, yes. Appwrite Analytics covers visitors, pages, sources, campaigns, locations, devices, and custom events, cookieless by default and inside the same project as your backend and hosting. If you rely on session replay, feature flags, experiments, or funnels and retention, PostHog covers more of that product surface.

### Does Appwrite Analytics need a cookie banner like PostHog?

Appwrite Analytics sets no cookies, stores no IP addresses, uses identifiers that expire daily, and honors Do Not Track and Global Privacy Control, so it is built to run without a consent banner. PostHog uses cookies by default and offers a cookieless mode you configure. Confirm what your own site needs with your counsel.

- [Privacy and data](https://appwrite.io/docs/products/analytics/privacy)

### Can I track events from my server with Appwrite?

Yes. Send events over REST or with any Appwrite server SDK, from your backend or an Appwrite Function. With an API key you can attach a user ID, and client code only ever uses a public property ID.

- [Server-side tracking](https://appwrite.io/docs/products/analytics/server-side)

### How does Appwrite handle bots and AI crawlers?

Automated traffic is labeled instead of hidden: you see the human and bot split, named agents like GPTBot and ClaudeBot, and categories such as AI crawler and AI assistant. Visits referred by ChatGPT, Claude, Gemini, or Perplexity get their own AI channel.

- [Bots and AI traffic](https://appwrite.io/docs/products/analytics/bots)

### How does pricing compare?

PostHog includes 1 million analytics events a month for free, then bills per event. Appwrite Analytics is part of your Appwrite plan: Free includes 50,000 events a month and one property, and Pro includes 100,000 events and five properties, then $3 per additional 100,000 events.

- [Pricing](https://appwrite.io/pricing)

### Can I use Appwrite Analytics with PostHog?

Yes. Many teams keep a product analytics tool for in-app behavior and use a cookieless tool for public traffic. Appwrite Analytics can measure your marketing site and Appwrite Sites while PostHog stays on the logged-in product.

## Sources

- [PostHog pricing](https://posthog.com/pricing)
- [PostHog GDPR compliance](https://posthog.com/docs/privacy/gdpr-compliance)
- [PostHog data collection controls](https://posthog.com/docs/privacy/data-collection)
- [PostHog bot detection](https://posthog.com/docs/web-analytics/bot-detection)
