
Amplitude
Cloud product analytics, with an optional cookieless mode.

PostHog is a product analytics platform, open source under MIT except for its enterprise code, that runs in a US or EU cloud or on your own server and bills by events above a free monthly allowance. It keeps the user ID in a cookie and local storage by default; a cookieless mode must be switched on in both the SDK and the project settings.
95.3 KB compressed
305.4 KB uncompressed · measured 17 Sep 2026
Billed by events · checked 17 Sep 2026
PostHog combines product analytics, web analytics, session replay, feature flags, experiments and surveys in one platform. Web analytics is billed as part of product analytics, and the first 1 million events each month are free. The Free plan needs no credit card and stops collecting once it reaches its limits.
Pay-as-you-go keeps the same monthly free allowance, adds projects and a longer retention period, and lets you set a spending limit for each product. PostHog Cloud runs in the US or in the EU.
The code is published under the MIT license, apart from an enterprise directory, and a free Docker Compose deployment runs on your own server without official support. That puts PostHog among the open-source tools you can self-host.
Choose the US or EU cloud at signup, then add the HTML snippet inside the head tag, or install posthog-js from npm, and initialize it with your project token and the API host of your region. The same snippet works in Google Tag Manager. On WordPress, the documentation suggests a plugin that adds code to the header, or a function in the theme’s functions.php file.
For your own server, PostHog provides a free Docker Compose deployment started by one script. It needs an Ubuntu virtual machine with about 4 vCPUs, 16 GB of RAM and more than 30 GB of storage, plus a domain whose A record points to it. PostHog issues the HTTPS certificate through Let’s Encrypt.
PostHog documents historical imports from several tools. Managed migrations pull events directly from Mixpanel or Amplitude with your API credentials, up to one year per job, or read JSONL files from an S3 bucket. Guides cover Google Analytics through its BigQuery export, as well as Heap, Matomo, Pendo and Plausible; the Plausible script is marked experimental because that export is aggregated.
Historical imports are not charged as standard ingestion, but they require a paid plan. Managed migrations do not remove duplicates, and selected events cannot be deleted later, so PostHog recommends a test batch in a separate project first.
As documented on the vendor’s own pages. “Partly” means the feature has limits or is only on some plans.
What the vendor documents. A platform that is not listed has no guide, plugin or package from the vendor.
Yes, by default. The JavaScript library keeps its state in local storage and the user ID in a first-party cookie that lasts 365 days. In cookieless mode it stores nothing in the browser, and PostHog says the always variant of that mode needs no cookie banner unless something else on your site uses cookies; whether that holds depends on the rules that apply to you.
Not on the Free plan: further events are permanently dropped, so there is no charge. On Pay-as-you-go, usage above the free allowance is billed unless you set a billing limit for the product. Past that limit, PostHog stops ingesting and the extra data is lost.
In the US or in the EU, depending on the cloud you choose at signup. The pricing page lists Virginia for the US cloud and Frankfurt for the EU cloud. Moving existing events from the US cloud to the EU cloud requires a support request and is available only on the Scale or Enterprise package.
Yes, with limits. PostHog offers a free Docker Compose deployment under the MIT license, but it is officially unsupported and comes without guarantees. Some cloud features are missing there, among them dashboard subscriptions, group analytics and data pipelines, and cloud retention limits do not apply to your own server.
How each value is collected: methodology. Why tools get no overall score: our reasoning.
Same category, ordered by how many traits they share with PostHog: cookie handling, self-hosting and open code.
Compare PostHog with another tool →

Cloud product analytics, with an optional cookieless mode.

Cloud product analytics, with an optional cookieless mode.

Cloud product analytics, with an optional cookieless mode.