fathom/README.md

96 lines
4.8 KiB
Markdown
Raw Normal View History

Fathom - simple website analytics (Community Edition)
2016-11-19 22:35:23 +01:00
==============================
2019-04-17 10:40:33 -05:00
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LJ5WZVA9ER9GJ)
2018-04-24 10:12:38 +02:00
[![Go Report Card](https://goreportcard.com/badge/github.com/usefathom/fathom)](https://goreportcard.com/report/github.com/usefathom/fathom)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/usefathom/fathom/master/LICENSE)
2016-12-11 15:23:11 +01:00
[Fathom Analytics](https://usefathom.com/) is a simpler and more privacy-focused alternative to Google Analytics.
2016-12-11 15:23:11 +01:00
2018-06-08 13:18:00 +02:00
Collecting information on the internet is important, but its broken. Weve become complacent in trading information for free access to web services, and then complaining when those web services do crappy things with that data.
The problem is this: _if we arent paying for the product, we are the product_.
Google Analytics may give you free access to their services but in turn, theyre assembling data profiles on your website visitors, which they can then use for better targeting of advertisements across their network.
We need to stop giving away our data and our users' privacy for free access to a tool.
Fathom [respects the privacy of your users and does not collect any personally identifiable information](https://usefathom.com/data/). All while giving you the information you need about your site, so you can make smarter decisions about your design and content.
2016-11-24 16:49:30 +01:00
2018-06-08 16:00:40 +02:00
![Screenshot of the Fathom dashboard](https://github.com/usefathom/fathom/raw/master/assets/src/img/fathom.jpg?v=7)
2019-04-17 10:40:33 -05:00
## Community Edition vs PRO Edition
We offer a [PRO version of Fathom Analytics](https://usefathom.com/#pricing) that starts at $14 / month. You can also self-host our Community Edition on your own server (est. $5 / month).
2019-04-17 10:40:33 -05:00
Here is what you get for an extra $9 / month with our PRO version:
* Automatic Security / Software updates
* Automatic scaling (our PRO version is built to handle billions of page views each month)
* Database Redundancy (In the event of a database hardware failure, we have a live standby database ready to go)
* Access to our super-fast CDN
* Faster data aggregation
* Access to the latest Fathom Analytics software updates
It comes down to your personal needs and how much you value your time.
## Installation
2019-03-05 09:40:54 -06:00
### Production
2019-03-14 21:26:09 -05:00
Fathom Analytics can easily be installed on DigitalOcean using our new [1-Click Application](https://marketplace.digitalocean.com/apps/fathom-analytics?action=deploy&refcode=a36c0e8abd93). You can follow the [installation instructions here](docs/DigitalOcean%20One-Click%20Installation%20Instructions.md) to get started.
2019-03-05 09:40:54 -06:00
Alternatively, you can install Fathom on any another server provider by following [our simple instructions](docs/Installation%20instructions.md).
### Development
2018-05-29 15:46:45 +02:00
For getting a development version of Fathom up & running, go through the following steps.
2018-10-24 10:09:57 +02:00
1. Ensure you have [Go](https://golang.org/doc/install#install) and [NPM](https://www.npmjs.com) installed
2018-10-15 09:22:03 +02:00
1. Download the code: `git clone https://github.com/usefathom/fathom.git $GOPATH/src/github.com/usefathom/fathom`
1. Compile the project into an executable: `make build`
2018-10-24 10:09:57 +02:00
1. (Optional) Set [custom configuration values](docs/Configuration.md)
1. (Required) Register a user account: `./fathom user add --email=<email> --password=<password>`
1. Start the webserver: `./fathom server` and then visit **http://localhost:8080** to access your analytics dashboard
2018-08-26 18:43:03 +02:00
## Docker
### Building
Ensure you have Docker installed and run `docker build -t fathom .`.
Run the container with `docker run -d -p 8080:8080 fathom`.
2018-08-26 18:43:03 +02:00
### Running
To run [our pre-built Docker image](https://hub.docker.com/r/usefathom/fathom/), run `docker run -d -p 8080:8080 usefathom/fathom:latest`
2018-08-26 18:43:03 +02:00
## Tracking snippet
2018-05-29 15:46:45 +02:00
To start tracking, create a site in your Fathom dashboard and copy the tracking snippet to the website(s) you want to track.
2018-08-26 18:43:03 +02:00
### Content Security Policy
If you use a [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/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;
```
## Roadmap
Find [our public roadmap here](https://trello.com/b/x2aBwH2J/fathom-roadmap).
If you have an idea or suggestion for Fathom, [submit it as an issue here on GitHub](https://github.com/usefathom/fathom/issues).
2019-04-17 10:40:33 -05:00
## Donation
If you're self-hosting Fathom Analytics (Community Edition) and want to support it's development, you can:
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LJ5WZVA9ER9GJ)
2018-04-24 09:24:55 -07:00
## Copyright and license
2018-04-24 09:24:55 -07:00
MIT licensed. Fathom and Fathom logo are trademarks of Fathom Analytics.