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

Kuba86
2 days ago a3d7d401d514f2cc0d4dac3b0b4a627f6e184156
refs
author Kuba86 <8183159+kuba86@users.noreply.github.com>
Monday, February 23, 2026 17:22 +0100
committer GitHub <noreply@github.com>
Monday, February 23, 2026 17:22 +0100
commita3d7d401d514f2cc0d4dac3b0b4a627f6e184156
tree f13172633b8b749c80fc0bd0072645799a5870bf tree | zip | gz
parent eea6dfd3fe4b97518d2c5d2fb550e906793507e8 view | diff
Add Counter.dev analytics support (#988)

### 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

Add Counter.dev analytics support

### Issues Resolved

no support for Counter.dev

### Checklist

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

#### General

- [x] Describe what changes are being made

Added support for Counter.dev analytics. more info at
https://counter.dev/

- [x] Explain why and how the changes were necessary and implemented
respectively

Currently Counter.dev is not supported in the theme. By adding this new
analytics option users no longer need to fork and add it independently.

- [ ] Reference issue with `#<ISSUE_NO>` if applicable

#### Resources

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

#### Contributors

- [ ] 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
2 files added
23 ■■■■■ changed files
docs/analytics.md 3 ●●●● diff | view | raw | blame | history
docs/analytics/counterdev.md 6 ●●●●● diff | view | raw | blame | history
exampleSite/hugo.toml 4 ●●●● diff | view | raw | blame | history
layouts/_partials/analytics/counterdev.html 6 ●●●●● diff | view | raw | blame | history
layouts/baseof.html 4 ●●●● diff | view | raw | blame | history