PostHog
Mixpanel の代替。プロダクト分析・セッション録画・機能フラグを1つに
オープンソース代替:Google AnalyticsMixpanel
自分のサーバーで動かすなら:メモリ 8GB 以上の VPS で、月額 3,170円〜(目安) 導入方法と VPS の比較を見る ↓
- Docker対応
- SSO対応
- クラウド版あり
- セルフホスト可
オープンコア:MIT
本体は MIT。ee/ 配下のエンタープライズ機能だけ ee/LICENSE。
PostHog はイベント計測・ファネル・リテンション分析に加え、セッション録画、機能フラグ、A/B テスト、アンケートまでを統合したプロダクト分析基盤です。エンジニア向けの設計で、SDK が多数用意されています。
クラウド版は無料枠が大きく、セルフホストは「hobby 構成」でも 4〜8GB のメモリを推奨しています。
日本語対応
※ 日本語の翻訳ファイルの有無はリポジトリを自動で確認しています(翻訳の割合は、ファイルの形式によって計測できないため表示していません)。最終確認:2026/10/22
最近の更新
-
リリースノート(原文)
Latest hobby installer build - same as hobby-20261022-184212 This is currently experimental and may not work as expected. We believe it to be working correctly, but please make sure you backup your data before using it. Download: `curl -L https://github.com/PostHog/posthog/releases/download/hobby-latest/hobby-installer -o hobby-installer && chmod +x hobby-installer`
-
リリースノート(原文)
Build from commit 9b6bc67f03db55d376d259b9e33f4287e63c781f
-
リリースノート(原文)
## What's Changed * feat(aio): configure boolean decision thresholds by @bernatixer in https://github.com/PostHog/posthog/pull/122105 * feat(workflows): add team defaults for utm tags on new email links by @dmarchuk in https://github.com/PostHog/posthog/pull/118211 * feat(warehouse): add aws documentdb source by @danielcarletti in https://github.com/PostHog/posthog/pull/118213 * feat(warehouse): add cloudflare d1 source by @danielcarletti in https://github.com/PostHog/posthog/pull/118144 * feat(customer-analytics): configurable persons table for account users by @arthurdedeus in https://github.com/PostHog/posthog/pull/121474 * feat(experiments): name the cause of zero exposures by @mp-hog in https://github.com/PostHog/posthog/pull/121107 * feat(desktop): add task trackers as inbox sources …
導入方法(セルフホスト)
docker-compose.dev.yml
#
# docker-compose file used ONLY for local development.
# For more info, see:
# https://posthog.com/handbook/engineering/developing-locally
#
# PostHog has sunset support for self-hosted K8s deployments.
# See: https://posthog.com/blog/sunsetting-helm-support-posthog
#
# Profile guidance:
# New optional services should declare `profiles:` directly on the service
# here (see capture, plugins, ingestion-* for examples).
# docker-compose.profiles.yml is a legacy overlay that retroactively gates
# older services; do not add new entries there.
#
services:
proxy:
extends:
file: docker-compose.base.yml
service: proxy
ports:
- 127.0.0.1:8010:8000
extra_hosts:
- 'web:host-gateway'
- 'plugins:host-gateway'
- 'capture:host-gateway'
- 'capture-ai:host-gateway'
- 'capture-logs:host-gateway'
- 'capture-apm-metrics:host-gateway'
- 'replay-capture:host-gateway'
- 'feature-flags:host-gateway'
- 'hypercache-server:host-gateway'
- 'push-api:host-gateway'
environment:
CADDYFILE: |
{
servers {
trusted_proxies static ${CADDY_TRUSTED_PROXIES:-127.0.0.1/32 ::1/128}
}
}
# …(続きは docker-compose.dev.yml)
- VPSを契約する ― シンVPS 8GBを選び、OSは Ubuntu を推奨
- Docker を入れる ― 多くのVPSはアプリテンプレートから1クリック。無ければ
curl -fsSL https://get.docker.com | sh - PostHog を起動 ― 上の compose ファイルを置いて
docker compose up -d - ドメインとHTTPS ― Caddy か Nginx Proxy Manager でリバースプロキシ(Let's Encrypt 自動)。独自ドメインが無ければ XServer ドメイン
で取得(PR)
このソフトが動く VPS プラン(必要メモリ 8GB 以上)
※ 月額は12か月契約の通常価格(税込・月額換算)の目安です。キャンペーン価格・初期費用は各社の公式サイトで確認してください。PR
自分で入れるのが難しいときは
PostHog のセルフホストは、VPS の契約・Docker・ドメインと HTTPS・バックアップと、決めることが少なくありません。OSSMatch を運営する合同会社Edel Hearts では、サーバーの用意から初期設定・日本語化・バックアップと更新の仕組みづくりまでをまとめて代行しています。掲載している OSS は、実際に自社のサーバーで動かして確認しています。
PostHog の導入を相談する ↗相談は無料です。内容を伺ってから、費用と期間の目安をお伝えします。
アクセス解析の他のOSSと比較
| ソフト | ★ Stars | 最終更新 | 日本語UI | 必要RAM | 難易度 | ライセンス |
|---|---|---|---|---|---|---|
| PostHog(このページ) | 40,386 | 10時間前 | 未検出 | 8GB | むずかしい | MIT |
| Umami | 39,538 | 2日前 | 97% | 512MB | かんたん | MIT |
| Plausible Analytics | 29,604 | 13時間前 | 未検出 | 2GB | ふつう | AGPL-3.0 |
| OpenSEO | 24,539 | 3日前 | 未検出 | ― | ふつう | MIT |
よくある質問
PostHog は無料で使えますか?
PostHog はオープンソースで、ソフト自体は無料です。自分のサーバー(VPSなど)で動かす場合はサーバー代(月額数百円〜)がかかります。公式のクラウド版(有料プラン)も提供されています。
PostHog は日本語で使えますか?
リポジトリ内に日本語の翻訳ファイルを自動検出できませんでした。実際の画面での日本語表示は確認できていないため、導入前に公式のデモやドキュメントで確認してください。
PostHog を商用利用できますか?
ライセンスは MIT です。商用利用・改変・再配布が広く認められています。
Google Analytics から PostHog に移行できますか?
Google Analytics のエクスポート機能でデータを書き出し、PostHog 側のインポート機能で取り込むのが基本です。対応形式はバージョンによって異なるため、公式ドキュメントで確認してください。Google Analytics の他の代替は「Google Analytics のオープンソース代替」ページで比較できます。
PostHog を動かすのに必要なサーバースペックは?
メモリ 8GB 以上が目安です。Docker に対応しているので、Docker が動く環境ならOSを問いません。