Skip to content
AppwritevsPostHog

Know your traffic. Not your visitors._

PostHog is a product toolkit built around identifying users. Appwrite Analytics answers the traffic questions most sites actually ask, cookieless and anonymous by default, with bots and AI agents in plain view and your backend and hosting in the same project.

One pageview, default settings

PostHog

  • Cookieph_…_posthog
  • Persistent IDdistinct_id across visits
  • IP addressKept unless you discard it
  • Full URL/reset?token=…&email=…

Appwrite Analytics

  • Browser storageNothing written
  • Visitor IDHashed, rotates every 24h
  • LocationCountry and city only
  • Page/reset

PostHog can be configured for cookieless tracking and IP discarding. Appwrite Analytics works this way out of the box, with no setting to forget.

Scope_

Answers, not a product suite_

PostHog bundles replay, flags, experiments, surveys, and a warehouse around user identity. If you mostly need to know how your site is doing, Appwrite gives you that on one page, without identifying anyone.

QuestionAppwritePostHog
  • How many people visited this week?
  • Which pages, sources, and campaigns brought them?
  • How much of my traffic is bots and AI agents?
  • Did sign-ups go up after the launch?
  • Where do users drop off in onboarding?
  • What did this specific user do last Tuesday?

Appwrite answers traffic questions without identifying anyone. Questions about individual users need identity, which is what PostHog is built around.

Bots and AI_

Every agent, labeled by name_

Appwrite separates people from crawlers and agents on the main dashboard, names them, and gives AI assistant referrals their own channel.

Humans

81%

Bots

19%

AI crawlerSearch crawlerSocial preview

AI channel

People
  • chatgpt.com1.4K
  • claude.ai520
  • perplexity.ai310

Top agents

GPTBot1.9K
AggressiveScraper1.2K
Googlebot840
Filter by this value
Exclude this value
Create firewall rule

Deny

403

user_agent contains "AggressiveScraper"

Platform_

Analytics that can act_

Appwrite Analytics shares a project with your Sites, Functions, and Firewall. See traffic on each site’s overview, track server-side from a Function, and turn an abusive country, path, or bot into a Firewall rule in two clicks.

One platform_

PostHog measures your product. Appwrite also runs it._

PostHog sits beside your stack. Appwrite Analytics sits inside it, in the same project as your hosting, backend, and firewall, with one Console and one bill.

  • SitesLast-24-hour traffic on every site’s overview, one click from the full dashboard.
  • FirewallTurn a country, path, or agent from any report into a rule for your site.
  • FunctionsSend server-side events from a function with an API key, no client code.
Appwrite Analytics
  • AuthAttach your own user ID to server events when you choose to, nothing by default.
  • DatabasesKeep the orders and sign-ups your custom events count in the same project.
  • DomainsBuy or connect the domain, serve the site, and measure it from one Console.

Appwrite vs PostHog_

Privacy by default, not by configuration_

Both measure web traffic well. The difference is what happens before you change a single setting, and what sits next to your analytics.

Checked against public pricing and documentation in October 2026.

Appwrite
PostHog
Privacy defaults
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
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
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

Fair play_

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.

  1. 01

    You need funnels, retention, cohorts, or paths across identified users.

  2. 02

    You want session replay, feature flags, experiments, or surveys in the same tool.

  3. 03

    You track at high volume and the 1M free events a month cover most of it.

  4. 04

    You need to self-host your analytics.

    Appwrite itself is open source, but Analytics runs on Appwrite Cloud.

Why developers choose Appwrite over PostHog_

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.

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.

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.

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.

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.

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.

Measure your traffic without tracking people_

Create a property, add one snippet, and see visitors, sources, bots, and AI agents in your Appwrite project.