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
Eric Duong 8e5347b4e1
Implement property filtering operators (#1886)
* change parsing to include operators'

* make properties test into factory

* add clickhouse test implementation and fix another test

* add custom test to clickhouse filter tests

* all tests besides json filtering

* add json test

* fix tests

* fix type errors
2020-10-19 06:01:01 -04:00
.github Upgrade cypress, fix and stabilize tests (#1872) 2020-10-14 15:36:25 +03:00
.platform One click deploy for platform.sh (#1044) 2020-06-18 16:12:07 +02:00
bin fixed webpack on docker-compose.dev (#1921) 2020-10-18 12:30:46 +02:00
cypress System Status page and API (#1812). (#1875) 2020-10-15 12:34:32 +02:00
ee Implement property filtering operators (#1886) 2020-10-19 06:01:01 -04:00
frontend Fix events overlay (#1922) 2020-10-19 10:52:49 +01:00
posthog Implement property filtering operators (#1886) 2020-10-19 06:01:01 -04:00
requirements Add django extensions (#1541) 2020-09-01 16:07:43 +02: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 Destroy lodash (#1864) 2020-10-14 10:42:06 +02:00
.flake8 Flake8 setup and improvements (#660) 2020-04-27 18:13:59 +02:00
.gitignore Leverage Postgres for Persons and reorder order by's on clickhouse" (#1681) 2020-09-22 13:41:08 +01: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 Try running review apps in production mode (#1847) 2020-10-13 12:40:17 +02:00
babel.config.js chore: rename .babelrc (#1184) 2020-07-13 10:36:38 +02:00
CHANGELOG.md Minor changelog updates (#1899) 2020-10-15 20:52:38 +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 Upgrade cypress, fix and stabilize tests (#1872) 2020-10-14 15:36:25 +03: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 Fix: Clearing custom webhook message would save empty string (#1692) (#1892) 2020-10-15 12:44:24 +02: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 Command palette (#1819) 2020-10-13 15:44:56 +02:00
package.json upgrade react-shadow (#1923) 2020-10-18 11:53:24 +01: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 bump drf-exceptions-hog (#1897) 2020-10-15 17:17:32 +02:00
runtime.txt Add python version to posthog for automated deploys (#1795) 2020-10-02 08:54:20 +01:00
tsconfig.json Fix tsconfig.json lib property (#1818) 2020-10-08 00:43:23 +02:00
webpack.config.js Remove Toolbar Beta Toggle (#1853) 2020-10-15 11:42:42 +02:00
yarn.lock upgrade react-shadow (#1923) 2020-10-18 11:53:24 +01: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 🦸