Simple, open-source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
Go to file
Uku Taht d94a8dbc7e
Clickhouse (#66)
* Get stats from clickhosue

* Pull stats from clickhouse

* Use correct Query namespace

* Use Clickhouse in unit tests

* Use Clickhouse in stats controller tests

* Use fixtures for unit tests

* Add Clickhouse to travis

* Use Clickhouse session store for sessions

* Add garbage collection to session store

* Reload session state from Clickhouse on server restart

* Query from sessions table

* Trap exits in event write buffer

* Run hydration without starting the whole app

* Make session length 30 minutes

* Revert changes to fingerprint schema

* Remove clickhouse from fingerprint sessions

* Flush buffers before shutdown

* Use old stats when merging

* Remove old session schema

* Fix tests with CH sessions

* Add has_pageviews? to Stats

* Use CH in staging

* Update schema

* Fix test setup
2020-05-21 13:03:39 +03:00
assets Remove jumpiness from when conversions are loaded 2020-04-23 10:58:04 +03:00
config Clickhouse (#63) 2020-05-18 12:44:52 +03:00
lib Clickhouse (#66) 2020-05-21 13:03:39 +03:00
priv Cascade setup success emails deletion 2020-04-08 15:25:35 +03:00
test Clickhouse (#66) 2020-05-21 13:03:39 +03:00
.formatter.exs Initial commit 2019-09-02 12:29:19 +01:00
.gitignore Ignore Elixir Language Server files. (#65) 2020-05-21 12:36:03 +03:00
.tool-versions Update elixir 2020-05-21 11:10:41 +03:00
.travis.yml Clickhouse (#63) 2020-05-18 12:44:52 +03:00
compile Update compile script 2020-03-06 11:15:16 +02:00
elixir_buildpack.config Bump elixir version to 1.8.2 2019-12-04 12:55:23 +08:00
LICENSE.md Add license 2019-09-02 13:04:22 +01:00
mix.exs Clickhouse (#66) 2020-05-21 13:03:39 +03:00
mix.lock Clickhouse (#66) 2020-05-21 13:03:39 +03:00
phoenix_static_buildpack.config New phoenix static buildpack config 2020-01-20 12:21:55 +02:00
Procfile Initial commit 2019-09-02 12:29:19 +01:00
README.md Update README.md 2020-05-19 15:58:51 +02:00

Plausible Analytics

Build Status

Plausible Analytics is a simple, lightweight, open-source and privacy-friendly alternative to Google Analytics. It doesnt use cookies and is fully compliant with GDPR, CCPA and PECR. You can view the live demo of our own website stats.

Why Plausible?

  • Clutter Free: Plausible Analytics provides simple web analytics and it cuts through the noise. No layers of menus, no need for custom reports. Get all the important insights on one single page. No training necessary.
  • GDPR/CCPA/PECR compliant: Measure traffic, not individuals. No personal data or IP addresses are ever stored in our database. We don't use cookies either. Read more about our data policy
  • Lightweight: Plausible Analytics works by loading a script on your website, like Google Analytics. Our script is 33x smaller, making your website quicker to load.
  • Email reports: Keep an eye on your traffic with weekly and/or monthly email reports. All the stats are embedded directly in the email and theres no need to go to any website. No attachments, no PDFs and no links to click on.
  • Open website stats: You have the option to be transparent and open your web analytics to everyone. Your website stats are private by default but you can choose to make them public so anyone with your custom link can view them.
  • Define key goals and track conversions: Set custom events or page URLs as your goals and see how they convert over time to understand and identify the trends that matter.
  • Search keywords: Integrate your dashboard with Google Search Console to get the most accurate reporting on your search keywords.
  • SPA support: Plausible Analytics is built with modern web frameworks in mind and it works automatically with any pushState based router on the frontend.

Interested? Read more on our website

Can Plausible Analytics be self-hosted?

At the moment we don't provide support for easily self-hosting the code. Currently, the purpose of keeping the code open-source is to be transparent with the community about how we collect and process data.

Making Plausible Analytics easy to self-host, providing full documentation and support for the process is something we want to see happening in the future. There is a GitHub thread you can join and engage with to follow our progress in making Plausible Analytics easy to self-host.

Why is Plausible Analytics not free like Google Analytics?

Plausible Analytics is an independently owned and actively developed project. To keep the project development going, to stay in business, to continue putting effort into building a better product and to cover our costs, we need to charge a fee.

Google Analytics is free because Google has built their company and their wealth by collecting and analyzing huge amounts of personal information from web users and using these personal and behavioral insights to sell advertisements.

Plausible has no part in that business model. No personal data is being collected and analyzed either. With Plausible, you 100% own and control all of your website data. This data is not being shared with or sold to any third-parties.

We choose the subscription business model rather than the business model of surveillance capitalism. See reasons why we believe you should stop using Google Analytics on your website.

Technology

Plausible Analytics is a standard Elixir/Phoenix application backed by a PostgreSQL database. On the frontend we use TailwindCSS for styling and some vanilla Javascript for interactive bits.

Feedback & Roadmap

We welcome feedback from our community. We have a public roadmap driven by the features suggested by the community members. Take a look at our feedback board and our public roadmap. Please let us know if you have any requests and vote on open issues so we can better prioritize.

License

Plausible is open-source under the most permissive Massachusetts Institute of Technology (MIT) license. This means that there are no restrictions on redistributing, modifying or using Plausible software for any reason. You can take it and use it any way that you wish.