0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-30 19:41:46 +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 97a665d277
Leverage Postgres for Persons and reorder order by's on clickhouse" (#1681)
* Query optimizations

* more sql optimizations

* checkpoint

* fix migration

* add UUID field to person

* use django signals to signal that clickhouse needs to be updated

* cleanup person logic

* cleanups

* update migration

* Don't setup the django signals unless we are for sure using ee setup

* expecting back to 30 queries for capturing with new person

* add .venv to .gitignore

* add env back to .gitignore

Co-authored-by: Ubuntu <ubuntu@ip-172-31-73-18.ec2.internal>
2020-09-22 13:41:08 +01:00
.github Add tests for FOSS (#1600) 2020-09-10 18:20:29 +02:00
.platform
bin Remove celerybeat.pid before starting docker worker (#1608) 2020-09-08 10:32:41 -07:00
cypress Fix Cypress tests (#1635) 2020-09-18 09:26:12 -04:00
ee Leverage Postgres for Persons and reorder order by's on clickhouse" (#1681) 2020-09-22 13:41:08 +01:00
frontend #724: Export Events to CSV (#1580) 2020-09-18 15:48:19 +02:00
posthog Leverage Postgres for Persons and reorder order by's on clickhouse" (#1681) 2020-09-22 13:41:08 +01:00
requirements Add django extensions (#1541) 2020-09-01 16:07:43 +02:00
staticfiles
.deepsource.toml
.dockerignore
.environment
.eslintrc.js
.flake8
.gitignore Leverage Postgres for Persons and reorder order by's on clickhouse" (#1681) 2020-09-22 13:41:08 +01:00
.kearc
.prettierrc
app.json
babel.config.js
CHANGELOG.md Update CHANGELOG (1.14.0) (#1563) 2020-09-03 21:21:54 +02:00
CONTRIBUTING.md
cypress.json Fix Cypress tests (#1635) 2020-09-18 09:26:12 -04:00
dev.Dockerfile
docker-compose.dev.yml
docker-compose.e2e.yml
docker-compose.yml
dump.rdb Revert this to bring back the working copy of ee / clickhouse (#1588) 2020-09-04 21:12:07 -07:00
gunicorn.config.py
latest_migrations.manifest Leverage Postgres for Persons and reorder order by's on clickhouse" (#1681) 2020-09-22 13:41:08 +01:00
LICENSE
manage.py
mypy.ini Add django extensions (#1541) 2020-09-01 16:07:43 +02:00
package.json 1) upgrade kea to 2.2.0 final and kea-typegen to 0.3.0, 2) fix some broken types (#1634) 2020-09-10 15:29:24 +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
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 Publish events to Kafka for consumption (#1644) 2020-09-15 20:04:38 -07:00
tsconfig.json
webpack.config.js
yarn.lock 1) upgrade kea to 2.2.0 final and kea-typegen to 0.3.0, 2) fix some broken types (#1634) 2020-09-10 15:29:24 +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 🦸