Skip to content
usefathomPublic

About

Fathom Lite. Simple, privacy-focused website analytics. Built with Golang & Preact.

Topics

Resources

Code of conduct

Stars

8.0k stars

Watchers

95 watching

Forks

Latest commit

Β 

History

747 Commits

Folders and files

Repository files navigation

Fathom Lite - simple website analytics

Go Report Card MIT licensed

Fathom Lite is a previous and open-source version of Fathom Analytics (a paid, hosted Google Analytics alternative). It was the very first version of our software, and has been downloaded millions of times!

While we are no longer adding features to this Lite version, we will be continuing to maintain it long-term and fix any bugs that come up.

Screenshot of the Fathom dashboard

Fathom Lite vs Fathom (hosted)

Today’s Fathom Analytics is a hosted product with simple pricing based on monthly pageviews. The same core capabilities are included on every plan: for example API access, up to 50 sites, custom events and ecommerce tracking, unlimited email reports and CSV exports, and forever data retentionβ€”with privacy-law compliance and no cookie banner required for analytics.

If you’d rather not run servers or maintenance yourself, try a 30-day free trial (that link applies a $10 credit on your first invoice). Browse all features or the live demo.

Screenshot of the Fathom Analytics Dashboard

Feature Fathom Lite Fathom (hosted)
Fully managed βœ— Self-hosted; you run servers and updates βœ“ Managed for you; pay per pageviews
Cookie-free (no analytics banner) βœ— Uses cookies βœ“ Cookie-free tracking
Current dashboard (real-time, live visitors, filters, details) βœ— Older Lite UI βœ“ Full dashboard β€” see features
API βœ— βœ“ API on all plans
Custom events, ecommerce, UTMs βœ— βœ“ Events, revenue, campaigns
EU isolation & custom domains βœ— βœ“ EU routing, first-party script domains
GA import, email reports, CSV export, shared dashboards βœ— βœ“ Unlimited reports & exports
Many sites per account βœ— Typical single install βœ“ Up to 50 sites (more available)
Email support & SLA βœ— Community / as-is βœ“ Support on every plan
Global CDN, scaling, backups βœ— Your responsibility βœ“ Included
Active feature development βœ— Bugfixes / maintenance βœ“ Ongoing β€” trial Β· sign up

Installation

Production

You can install Fathom on your server by following our simple instructions.

Development

For getting a development version of Fathom up & running, go through the following steps.

  1. Ensure you have Go and NPM installed
  2. Download the code: git clone https://github.com/usefathom/fathom.git $GOPATH/src/github.com/usefathom/fathom
  3. Compile the project into an executable: make build
  4. (Optional) Set custom configuration values
  5. (Required) Register a user account: ./fathom user add --email=<email> --password=<password>
  6. Start the webserver: ./fathom server and then visit http://localhost:8080 to access your analytics dashboard

Docker

Building

Ensure you have Docker installed and run docker build -t fathom .. Run the container with docker run -d -p 8080:8080 fathom.

Running

To run our pre-built Docker image, run docker run -d -p 8080:8080 usefathom/fathom:latest

Tracking snippet

To start tracking, create a site in your Fathom dashboard and copy the tracking snippet to the website(s) you want to track.

Content Security Policy

If you use a Content Security Policy (CSP) to specify security policies for your website, Fathom requires the following CSP directives (replace yourfathom.com with the URL to your Fathom instance):

script-src: yourfathom.com;
img-src: yourfathom.com;

Copyright and license

MIT licensed. Fathom and Fathom logo are trademarks of Fathom Analytics.

About

Fathom Lite. Simple, privacy-focused website analytics. Built with Golang & Preact.

Topics

Resources

Code of conduct

Stars

8.0k stars

Watchers

95 watching

Forks

Releases

Packages

Used by

Contributors

Languages