Skip to content

Commit

Permalink
Merge pull request #7 from JackEllis/patch-2
Browse files Browse the repository at this point in the history
Doc: Honor DNT param
  • Loading branch information
derrickreimer authored Jul 14, 2020
2 parents 2ee23f2 + df0adff commit 1882b45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Injects the Fathom script into the DOM and loads the script asynchronously.
- `opts` - An Object of options:
- `url` - The URL of the tracking script (defaults to `https://cdn.usefathom.com/script.js`).
- `auto` - When `false`, skips automatically tracking page views on script load (defaults to `true`).
- `honorDNT` - When `true`, honors the [DNT header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DNT) in the visitor's browser
- `canonical` - When `false`, ignores the canonical tag if present (defaults to `true`).
- `includedDomains` - Only tracks when on one of these domains.
- `excludedDomains` - Only tracks when NOT on one of these domains.
Expand Down

0 comments on commit 1882b45

Please sign in to comment.