0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 00:46:45 +01:00
🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
Go to file
James Greenhill 83b5273113
Protobufize events to protect from malformed JSON (#2085)
* Protobuf all the things

* oops

* Protobufize events to protect from malformed JSON

* format the generated files (will need to remember this for future)

* format

* clean up kafka produce serializer

* fixes
2020-10-28 15:18:52 -07:00
.github Attempt to speed up 3.9 tests (#2073) 2020-10-28 18:02:11 +01:00
.platform One click deploy for platform.sh (#1044) 2020-06-18 16:12:07 +02:00
bin Fix bin/tests too many files watching error (#2078) 2020-10-28 19:03:35 +01:00
cypress Fix cypress tests (#2070) 2020-10-28 16:13:07 +02:00
ee Protobufize events to protect from malformed JSON (#2085) 2020-10-28 15:18:52 -07:00
frontend Session recording on clickhouse, separate tables and retention cronjob (#2051) 2020-10-28 21:22:16 +01:00
posthog Protobufize events to protect from malformed JSON (#2085) 2020-10-28 15:18:52 -07:00
requirements Protobufize events to protect from malformed JSON (#2085) 2020-10-28 15:18:52 -07:00
staticfiles Fix settings 2020-01-24 16:22:12 -08:00
.deepsource.toml Fix some bug risks and code quality issues 2020-02-21 14:51:44 -08:00
.dockerignore Fix dev docker build (#1791) 2020-10-01 16:24:43 +02:00
.environment One click deploy for platform.sh (#1044) 2020-06-18 16:12:07 +02:00
.eslintrc.js Add eslint rule for empty JSX elements (#2023) 2020-10-26 11:45:57 +01:00
.flake8 Flake8 setup and improvements (#660) 2020-04-27 18:13:59 +02:00
.gitignore gitignore __pycache__ directories (#1945) 2020-10-20 17:29:28 +02:00
.kearc Kea TypeGen 0.2 (#1427) 2020-08-14 17:02:57 +02:00
.prettierrc Kea TypeGen 0.0.31 (#1297) 2020-07-29 11:21:00 +02:00
app.json Fix review apps (#1977) 2020-10-22 16:04:17 +02:00
babel.config.js chore: rename .babelrc (#1184) 2020-07-13 10:36:38 +02:00
CHANGELOG.md Release 1.15.1 (#1992) 2020-10-26 11:34:34 +01:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md (#1790) 2020-10-01 14:12:10 +00:00
CONTRIBUTING.md Create CONTRIBUTING.md 2020-02-19 16:18:54 -08:00
cypress.json Organization<>Team<>User structure (closes #1540) (#1562) 2020-10-22 10:58:32 +02:00
dev.Dockerfile Update dockerfile for dev-ing (#1817) 2020-10-07 16:31:29 +02:00
docker-compose-config.py Make production docker-compose.yml generated (#1704) 2020-09-28 20:50:38 +02:00
docker-compose.dev.yml Fix docker-compose.dev version tags (#1901) 2020-10-16 08:47:47 +01:00
docker-compose.e2e.yml Enhance and optimize PR GitHub workflows (#1365) 2020-08-18 11:08:40 +02:00
docker-compose.yml Make production docker-compose.yml generated (#1704) 2020-09-28 20:50:38 +02:00
gunicorn.config.py Black all the things! (#1136) 2020-07-02 15:41:49 +02:00
latest_migrations.manifest Session recording on clickhouse, separate tables and retention cronjob (#2051) 2020-10-28 21:22:16 +01:00
LICENSE Add enterprise edition and licensing (#1390) 2020-08-14 11:23:55 +02:00
manage.py Black all the things! (#1136) 2020-07-02 15:41:49 +02:00
mypy.ini Organization<>Team<>User structure (closes #1540) (#1562) 2020-10-22 10:58:32 +02:00
package.json upgrade kea-router and typegen (#2044) 2020-10-27 14:00:14 +02:00
postcss.config.js Improve tracking of development instances (resolves #1518) (#1519) 2020-08-28 02:32:21 +02:00
preview.Dockerfile Update preview.Dockerfile (#1567) 2020-09-03 17:18:15 -03:00
Procfile Fix redis error when upgrading Heroku (#508) 2020-04-08 19:19:33 +01:00
production.Dockerfile Add docker image test (#1515) 2020-09-01 16:02:53 +02:00
README.md Updated Deployment Options on readme (#1525) 2020-08-27 16:41:08 +02:00
requirements.txt Protobufize events to protect from malformed JSON (#2085) 2020-10-28 15:18:52 -07:00
runtime.txt Add python version to posthog for automated deploys (#1795) 2020-10-02 08:54:20 +01:00
tsconfig.json Fix typescript errors #1 (#2027) 2020-10-27 09:57:06 +01:00
webpack.config.js Fix click outside spam & public paths (#2022) 2020-10-26 12:49:50 +01:00
yarn.lock upgrade kea-router and typegen (#2044) 2020-10-27 14:00:14 +02:00


PostHog provides open-source product analytics, built for developers. Automate the collection of every event on your website or app, with no need to send data to 3rd parties. With just 1 click you can deploy on your own infrastructure, having full API/SQL access to the underlying data.



Quick Start

1-click Heroku deploy:



Make the Best of PostHog

See PostHog Docs for in-depth walk-throughs on functionality.

PostHog dashboard screenshot

Join our PostHog Users Slack community if you need help, want to chat, or are thinking of a new feature. We're here to help - and to make PostHog even better.



Features

  • Event-based analytics at a user level - see which users are doing what in your application.
  • Complete control over your data - host it yourself.
  • Automatically capture clicks and page views to do analyze what your users are doing retroactively.
  • Feature flags understand the impact of new features before rolling them out more widely
  • Ready-made libraries for JS, Python, Ruby, Node, Go + API for anything else.
  • Beautiful data visualizations: graphs, funnels, user cohorts, user paths, retention tables, and dashboards.
  • Analytics right on your website with the playful PostHog Toolbar.
  • Super easy deploy using Docker or Heroku.



Event Autocapture



Philosophy

Many engineers find it painful to work out how their products are being used. This makes design decisions tough. PostHog solves that.

In our view, third-party analytics does not work anymore in a world of cookie laws, GDPR, CCPA, and many other four-letter acronyms. There should be an alternative to sending all of your customers' personal information and usage data to third-parties like Google.

PostHog gives you full control over all the data from your users, while allowing anyone to do powerful analytics.

This means you can know who is using your app, how they're using it, and where you lose users, among many other things.



What's Cool About This?

PostHog is the only product-focused open-source analytics library, with an event and user-driven architecture. That means tracking identifiable (where applicable) user behavior, and creating user profiles. We are an open-source alternative to products such as Mixpanel, Amplitude, or Heap, that's designed to be more developer-friendly than them.

There are a few session-based open-source libraries that are nice alternatives to Google Analytics. That's not what we are focused on.



PostHog Cloud

You can sign up for a free account on our hosted platform.



Deployment Options

Our suggested method for quick deployment is Heroku's one-click option:

Deploy

However, PostHog can be deployed anywhere you want! Here are step-by-step tutorials we've written for deployment options using all the major cloud providers:



Production Deployment

See our Docs for production deployment options.



Developing Locally

See our Docs for instructions on developing locally.



Contributing

We <3 contributions big or small. See our Docs for a guide on how to get started..

Not sure where to start? Book a free, no-pressure pairing session with one of our core contributors.



We're hiring!

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



Open-Source vs. Paid

This repo is entirely MIT licensed, with the exception of the ee directory (if applicable). Need absolutely 💯% FOSS? Check out our posthog-foss repository, which is purged of all proprietary code and features.

Premium features (contained in the ee directory) require a PostHog license. Contact us at sales@posthog.com for more information.



Contributors 🦸