• Stars
    star
    117
  • Rank 301,828 (Top 6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PostHog FOSS is a read-only mirror of PostHog, with all proprietary code removed. NOTE: This repo is synced automatically from the main PostHog repo. Please raise any issues and PRs there.

posthoglogo

PRs Welcome Docker Pulls GitHub commit activity GitHub closed issues

Docs - Using PostHog - Roadmap - Bug report

PostHog is an open-source suite of product and data tools, built for engineers

  • Specify events manually, or use autocapture to get started quickly
  • Analyze your data with visualizations and session recordings
  • Improve your product with A/B testing and feature flags
  • Keep control over your data by deploying PostHog on your infrastructure
  • Use apps to connect to external services and manage data flows

Table of Contents

Get started for free

PostHog Cloud

The fastest and most reliable way to get started with PostHog is signing up for free to PostHog Cloud or PostHog Cloud EU

Open-source hobby deploy

Deploy a hobby instance in one line on Linux with Docker (recommended 4GB memory):

 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)" 

Good for <100K events ingested monthly. See our docs for more info and limitations.

Features

ui-demo

We bring together all the tools and data in one place to help you build better products

Product analytics and optimization

  • Event-based analytics: capture your product's usage automatically, or customize it to your needs
  • User and group tracking: understand the people and groups behind the events and track properties about them
  • Data visualizations: create and share graphs, funnels, paths, retention, and dashboards
  • Session recording: watch videos of your users' behavior, with fine-grained filters and privacy controls
  • Heatmaps: see where users are using your product with the PostHog Toolbar
  • Feature flags: test and manage the rollout of new features, target specific users and groups
  • A/B and multi-variate testing: run simple or complex changes as experiments and get automatic significance calculations
  • Correlation analysis: discover what events and properties correlate with success and failure

Data and infrastructure tools

Read a full list of PostHog features.

Docs and support

Read how to deploy, integrate, and extend PostHog in our documentation.

Check out our tutorials for step-by-step guides, how-to's, and best practices.

Learn more about getting the most out of PostHog's features in our product manual.

Ask a question to get support.

Contributing

We <3 contributions big and small. In priority order (although everything is appreciated) with the most helpful first:

Philosophy

Our mission is to increase the number of successful products in the world. To do that, we build product and data tools that help you understand user behavior without losing control of your data.

In our view, third-party analytics tools do not work in a world of cookie deprecation, GDPR, HIPAA, CCPA, and many other four-letter acronyms. PostHog is the alternative to sending all of your customers' personal information and usage data to third-parties.

PostHog gives you every tool you need to understand user behavior, develop and test improvements, and release changes to make your product more successful.

PostHog operates in public as much as possible. We detail how we work and our learning on building and running a fast-growing, product-focused startup in our handbook.

Open-source vs. paid

This repo is available under the MIT expat license, except for the ee directory (which has it's license here) if applicable.

Need absolutely 💯% FOSS? Check out our posthog-foss repository, which is purged of all proprietary code and features.

Using premium features (contained in the ee directory) with a self-hosted instance require a PostHog license. To learn more, book a demo or see our pricing page.

We’re hiring!

Come help us make PostHog even better. We're growing fast and would love for you to join us.

Contributors 🦸

More Repositories

1

posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
Python
21,547
star
2

posthog.com

Official docs, website, and handbook for PostHog.
TypeScript
402
star
3

posthog-js

Send usage data from your web app or site to PostHog, with autocapture.
TypeScript
285
star
4

squeak

A Q&A widget for your docs
JavaScript
177
star
5

drf-exceptions-hog

Standardized and easy-to-parse API error responses for Django REST Framework (DRF).
Python
62
star
6

posthog-js-lite

Reimplementation of posthog-js to be as light and modular as possible.
TypeScript
57
star
7

max-ai

Max bot deploy
Python
51
star
8

charts-clickhouse

Helm chart for deploying PostHog with ClickHouse on your K8s infrastructure
Python
44
star
9

posthog-python

Send usage data from your Python code to PostHog.
Python
32
star
10

posthog-ios

PostHog iOS SDK
Swift
31
star
11

posthog-flutter

Posthog library for your Flutter and Dart applications
Dart
25
star
12

posthog-node

Official PostHog Node library
21
star
13

posthog-android

PostHog Android integration
Java
21
star
14

posthog-react-native

PostHog React Native Integration
20
star
15

posthog-go

Official PostHog Go library
Go
20
star
16

posthog-php

PHP
16
star
17

posthog-ruby

Send usage data from your Ruby code to PostHog.
Ruby
16
star
18

posthog-plugin-geoip

Enrich PostHog events and persons with GeoIP location data
TypeScript
15
star
19

posthog-rs

Rust
15
star
20

isgoogleanalyticsillegal.com

JavaScript
15
star
21

sidecar

A chrome extension that shows your users' data in any other SaaS tool
TypeScript
13
star
22

hedgehog.vc

hedgehog.vc backs open source businesses and is operated by the team behind posthog inc
12
star
23

old-charts

Official PostHog helm charts
Mustache
11
star
24

bigquery-plugin

TypeScript
8
star
25

check-package-version

Release automatically with npm package version check by PostHog
TypeScript
8
star
26

deployment

Various configs to deploy posthog
Shell
8
star
27

plugin-server

Service to process and save PostHog events, supporting JS/TS plugins at that
TypeScript
8
star
28

posthog-react-rrweb-player

TypeScript
7
star
29

notification-bar-app

TypeScript
7
star
30

posthog-plugin-migrator3000

Migrate your events to a new PostHog instance.
TypeScript
7
star
31

posthog-cloud

Internal scripts for PostHog multi-tenancy environment
Python
7
star
32

github-star-sync-plugin

Sync Github Stars to PostHog
JavaScript
6
star
33

posthog-docusaurus

🦔 PostHog plugin for Docusaurus v2
JavaScript
6
star
34

posthog-segment

🧩 PostHog<>Segment integration
JavaScript
6
star
35

stripe-plugin

Get customer and invoice data from Stripe into PostHog.
TypeScript
6
star
36

posthog-plugin-starter-kit

A quick PostHog plugin starting point
JavaScript
6
star
37

whereintheworld

Python
5
star
38

meta

This is a place to discuss non-product issues in public.
5
star
39

react-cmd

⌨️ Extensive React command palette, made at PostHog
TypeScript
5
star
40

posthog-zapier

⚡️ PostHog<>Zapier integration
TypeScript
5
star
41

hog-rs

🦔 Rust services for the PostHog platform.
Rust
5
star
42

plugin-scaffold

PostHog Plugin TypeScript Types
TypeScript
4
star
43

downsampling-plugin

Basic plugin to limit quantity of events coming in
JavaScript
4
star
44

snowflake-export-plugin

PostHog Snowflake Export Plugin
TypeScript
4
star
45

feedback-app

TypeScript
4
star
46

posthog-java

Official PostHog java library
Java
4
star
47

posthog-github-action

JavaScript
3
star
48

capture

Dockerfile
3
star
49

status

Status page for PostHog services
3
star
50

s3-export-plugin

PostHog S3 Export Plugin
TypeScript
3
star
51

handbook

ARCHIVE (see Posthog.com repo instead): The PostHog handbook
3
star
52

posthog-cli

CLI for PostHog
TypeScript
3
star
53

posthog-migrate-meta

Migrate metadata from one organization to another
TypeScript
3
star
54

squeak-react

JavaScript
3
star
55

customerio-plugin

Send event data and emails into Customer.io.
TypeScript
3
star
56

twitter-followers-plugin

Get your Twitter follower numbers in PostHog daily without signing up to the Twitter API.
JavaScript
2
star
57

postgres-plugin

Export PostHog events to a PostgreSQL instance on ingestion.
TypeScript
2
star
58

flatten-properties-plugin

Flatten event properties to easily access them in filters.
JavaScript
2
star
59

posthog-hello-world-plugin

Exemplary PostHog plugin
JavaScript
2
star
60

event-sequence-timer-plugin

Time the time taken for a user to perform Event B after performing Event A.
TypeScript
2
star
61

squeak-strapi

TypeScript
2
star
62

github-release-tracking-plugin

Get release annotations in PostHog.
TypeScript
2
star
63

concept-pipeline-ui

TypeScript
2
star
64

posthog-zendesk-plugin

JavaScript
2
star
65

yc-badge

Sport your Y Combinator affiliation on your website with this nifty badge
2
star
66

plugin-repository

Plugins for PostHog
2
star
67

user-interview-app

TypeScript
2
star
68

posthog-kinesis-plugin

TypeScript
2
star
69

cookie-banner

Cookie banner which you can use with PostHog and other tools
JavaScript
2
star
70

docs

ARCHIVE - PostHog documentation. Replaced with posthog.com repo
2
star
71

schema-enforcer-plugin

Enforce event schemas at ingestion for PostHog events.
TypeScript
2
star
72

synch

Go
2
star
73

integrations-repository

A repository for hosting a list of PostHog integrations, both official and community ones.
1
star
74

maxmind-plugin

Ingest GeoIP data via MaxMind into PostHog
TypeScript
1
star
75

make-some-noise-plugin

Generate a random event per minute, useful locally while developing
TypeScript
1
star
76

simple-scheduler-plugin

Calls an external API at the set interval, and remembers the last time it was called
JavaScript
1
star
77

posthog-databricks-plugin

JavaScript
1
star
78

posthog-update

Server to let you know when there's a new version of PostHog
HTML
1
star
79

template-typescript

🟦 The base for any good TypeScript package
JavaScript
1
star
80

storybook-build

Built version of the PostHog Storybook
1
star
81

taxonomy-plugin

Standardize your event names into a single pattern.
JavaScript
1
star
82

templates-repository

A repository for holding dashboard templates, both official and community ones
JavaScript
1
star
83

posthog-js-examples

Examples of PostHog with JavaScript and Node.js
JavaScript
1
star
84

currency-normalization-plugin

Convert all amounts to a base currency
JavaScript
1
star
85

calendly-app

TypeScript
1
star
86

mailboxlayer-plugin

Get email scores for PostHog users using the Mailboxlayer API.
JavaScript
1
star
87

posthog-prompts

JavaScript
1
star
88

hal-12000

🤖 Friendly neighborhood AI
TypeScript
1
star
89

ph

DEPRECATED - Command-line utility to install, run, and manage PostHog.
TypeScript
1
star
90

metabase-clickhouse

A metabase docker image with the Clickhouse driver built-in
Dockerfile
1
star
91

posthog-automatic-cohorts-plugin

Automatic cohort creation based on user properties.
TypeScript
1
star
92

internallinker

Automatically create internal links between your markdown files.
Python
1
star
93

posthog-gcs-plugin

Export events to GCS on ingestion.
TypeScript
1
star
94

gitlab-release-tracking-plugin

JavaScript
1
star
95

posthog-redshift-import-plugin

Import data from Redshift into PostHog
TypeScript
1
star
96

session-tracker-plugin

Advanced session tracking for PostHog
TypeScript
1
star
97

posthog-vscode-extension

1
star
98

posthog-orbit-love-plugin

JavaScript
1
star
99

hubspot-plugin

Send contact data to Hubspot on PostHog identify events.
TypeScript
1
star
100

posthog-intercom-plugin

TypeScript
1
star