mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 11:30:28 +00:00
Tracking snippet only needs one URL change. #42
This commit is contained in:
parent
7a8a351f02
commit
50be39ff37
@ -16,6 +16,7 @@ For getting a development version of Fathom up & running, go through the followi
|
|||||||
1. Ensure you have [Golang](https://golang.org/doc/install#install) installed properly
|
1. Ensure you have [Golang](https://golang.org/doc/install#install) installed properly
|
||||||
1. Get code: `git clone git@github.com:usefathom/fathom.git $GOPATH/src/github.com/usefathom/fathom`
|
1. Get code: `git clone git@github.com:usefathom/fathom.git $GOPATH/src/github.com/usefathom/fathom`
|
||||||
1. Compile into binary & prepare assets: `make build`
|
1. Compile into binary & prepare assets: `make build`
|
||||||
|
1. (Optional) Set your [custom configuration values](https://github.com/usefathom/fathom/wiki/Configuration-file).
|
||||||
1. Register your user account: `fathom register --email=<email> --password=<password>`
|
1. Register your user account: `fathom register --email=<email> --password=<password>`
|
||||||
1. Start the webserver: `fathom server` and then visit **http://localhost:8080** to access your analytics dashboard.
|
1. Start the webserver: `fathom server` and then visit **http://localhost:8080** to access your analytics dashboard.
|
||||||
|
|
||||||
@ -23,7 +24,7 @@ To install and run Fathom in production, [have a look at the installation instru
|
|||||||
|
|
||||||
#### Tracking snippet
|
#### Tracking snippet
|
||||||
|
|
||||||
To start tracking, include the following JavaScript on your site and replace `yourfathom.com` with the URL to your Fathom instance (twice).
|
To start tracking, include the following JavaScript on your site and replace `yourfathom.com` with the URL to your Fathom instance.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
|
<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user