mirror of https://github.com/luizdepra/hugo-coder.git

Kilian Kluge
08.44.2023 5c2476be1c29563b6dd06c15fb9206d2ca50efae
refs
author Kilian Kluge <32523967+ionicsolutions@users.noreply.github.com>
Wednesday, February 8, 2023 00:44 +0100
committer GitHub <noreply@github.com>
Wednesday, February 8, 2023 00:44 +0100
commit5c2476be1c29563b6dd06c15fb9206d2ca50efae
tree 083651bd77a59526c2b9ccb6a6af6a2fdcfe5223 tree | zip | gz
parent 965c1cb752ad4deed04861e5e950a2b37f519adf view | diff
Add outbound links and file downloads tracking for plausible.io (#774)

### Prerequisites

Put an `x` into the box(es) that apply:

- [ ] This pull request fixes a bug.
- [x] This pull request adds a feature.
- [ ] This pull request introduces breaking change.

### Description

Configuration options to activate [outbound link click
tracking](https://plausible.io/docs/outbound-link-click-tracking) and
[file downloads
tracking](https://plausible.io/docs/file-downloads-tracking).

These are two standard options for Plausible that are convenient and
useful in many circumstances.

### Issues Resolved

List any existing issues this pull request resolves.

### Checklist

Put an `x` into the box(es) that apply:

#### General

- [x] Describe what changes are being made
- [x] Explain why and how the changes were necessary and implemented
respectively
- [ ] Reference issue with `#<ISSUE_NO>` if applicable

#### Resources

- [ ] If you have changed any SCSS code, run `make release` to
regenerate all CSS files

#### Contributors

- [x] Add yourself to `CONTRIBUTORS.md` if you aren't on it already

---------

Co-authored-by: Luiz F. A. de PrĂ¡ <luizdepra@users.noreply.github.com>
3 files modified
5 ■■■■ changed files
CONTRIBUTORS.md 1 ●●●● diff | view | raw | blame | history
exampleSite/config.toml 2 ●●●●● diff | view | raw | blame | history
layouts/partials/analytics/plausible.html 2 ●●● diff | view | raw | blame | history