# analytics | Plausible Analytics | Knowledge Base | Instagit

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

GitHub Stars: 26.1k

Repository: https://github.com/plausible/analytics

---

## Articles

### [How Plausible Handles Bot Filtering at the Database Query Level](/plausible/analytics/bot-filtering-database-query-level)

Plausible Analytics filters bot traffic before database ingestion. Learn how this efficient bot filtering method eliminates the need for database-level query filtering.

- Tags: internals
- Published: 2026-05-19

### [How Plausible Analytics Generates and Validates API Tokens for External Integrations](/plausible/analytics/api-tokens-generation-validation-external-integrations)

Discover how Plausible Analytics generates and validates API tokens for external integrations using SHA-256 hashing and HTTP Basic authentication for secure access. Learn more now.

- Tags: how-to-guide
- Published: 2026-05-19

### [How Plausible Implements Async Jobs and Background Processing Using Oban](/plausible/analytics/async-jobs-background-processing-implementation)

Discover how Plausible leverages Oban for async jobs and background processing. Explore its PostgreSQL queues, worker modules, and cron scheduling for efficient operations.

- Tags: internals
- Published: 2026-05-19

### [Plausible Analytics React Frontend Architecture and Backend Communication](/plausible/analytics/plausible-react-frontend-architecture-backend-communication)

Explore Plausible Analytics' React frontend architecture and backend communication. Discover its React/TypeScript SPA, Elixir Phoenix backend, RESTful JSON API, context providers, and fetch utility layer.

- Tags: architecture
- Published: 2026-05-19

### [PostgreSQL Database Schemas for Sites, Users, and Memberships in Plausible Analytics](/plausible/analytics/postgresql-database-schemas-sites-users-memberships)

Explore Plausible Analytics PostgreSQL database schemas for users, sites, and memberships. Understand Ecto schemas for core account data management and optimize your analytics setup.

- Tags: internals
- Published: 2026-05-19

### [How the Plausible CSV Importer Parses and Validates Data: A Deep Dive into the Elixir Implementation](/plausible/analytics/csv-importer-data-parsing-validation)

Discover how Plausible Analytics parses and validates CSV data through a multi-stage Elixir pipeline. Learn about filename validation, schema checks, and efficient NimbleCSV streaming.

- Tags: deep-dive
- Published: 2026-05-19

### [How the Plausible Tracker Handles SPA Routing: Hash-Based and pushState Detection](/plausible/analytics/tracker-spa-routing-handling)

Plausible automatically tracks SPA routing using hash changes and pushState. Discover how it emits pageview events without full reloads.

- Tags: internals
- Published: 2026-05-19

### [How Plausible Imports Google Analytics 4 Historical Data](/plausible/analytics/import-migrate-google-analytics-4-data)

Learn how Plausible imports Google Analytics 4 historical data using an Elixir pipeline. Discover OAuth authentication, Oban jobs, GA4 API pagination, and ClickHouse buffering.

- Tags: how-to-guide
- Published: 2026-05-19

### [How Plausible Analytics Resolves Segments and Filters in the Query Pipeline](/plausible/analytics/segments-filters-analytics-query-pipeline)

Discover how Plausible Analytics implements segments and filters in its query pipeline. Learn how placeholders transform into concrete filter trees before ClickHouse query generation.

- Tags: internals
- Published: 2026-05-19

### [How the Plausible JavaScript Tracker Is Compiled and Served Dynamically](/plausible/analytics/javascript-tracker-script-compilation-serving)

Discover how the Plausible JavaScript tracker is compiled into a minified bundle and dynamically served via an Elixir Plug, ensuring efficient and personalized analytics delivery.

- Tags: internals
- Published: 2026-05-19

### [How Plausible Differentiates Community Edition (CE) from Enterprise Edition (EE) Builds](/plausible/analytics/how-plausible-differentiates-ce-ee-builds)

Discover how Plausible Analytics differentiates Community Edition (CE) from Enterprise Edition (EE) builds. Learn about compile-time flags, config files, and license validation.

- Tags: internals
- Published: 2026-05-19

