mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 03:20:27 +00:00
remove tracking snippet from README as it's now obsolete (dashboard shows tracking snippet)
This commit is contained in:
parent
39a7fd249d
commit
00b0261bc3
19
README.md
19
README.md
@ -44,24 +44,7 @@ To run [our pre-built Docker image](https://hub.docker.com/r/usefathom/fathom/),
|
|||||||
|
|
||||||
## 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.
|
To start tracking, create a site in your Fathom dashboard and copy the tracking snippet to the website(s) you want to track.
|
||||||
|
|
||||||
```html
|
|
||||||
<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
|
|
||||||
<script>
|
|
||||||
(function(f, a, t, h, o, m){
|
|
||||||
a[h]=a[h]||function(){
|
|
||||||
(a[h].q=a[h].q||[]).push(arguments)
|
|
||||||
};
|
|
||||||
o=f.createElement('script'),
|
|
||||||
m=f.getElementsByTagName('script')[0];
|
|
||||||
o.async=1; o.src=t; o.id='fathom-script';
|
|
||||||
m.parentNode.insertBefore(o,m)
|
|
||||||
})(document, window, '//yourfathom.com/tracker.js', 'fathom');
|
|
||||||
fathom('trackPageview');
|
|
||||||
</script>
|
|
||||||
<!-- / Fathom -->
|
|
||||||
```
|
|
||||||
|
|
||||||
### Content Security Policy
|
### Content Security Policy
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user