adityatelange / hugo-PaperMod

A fast, clean, responsive Hugo theme.
https://adityatelange.github.io/hugo-PaperMod/
MIT License
9.21k stars 2.51k forks source link

Added umami analytics support #1498

Closed DJLink closed 3 months ago

DJLink commented 3 months ago

What does this PR change? What problem does it solve?

This PR adds umami analytics support (https://umami.is/), the user can add the id and url of their installation to analytics and activate the tracking code.

it can be achieved with

params:
      analytics:
          umami:
              id: ID_CODE  #provided on umami backoffice
              url: URL  #for example https://eu.umami.is/script.js

This will add the appropriate code as it can be viewed on my website which is already using this change live:

https://github.com/DJLink/web_david-amador.com/blob/9234c4cfb7935c224abc123dad83a59ff7a7ec5e/index.html#L31

Was the change discussed in an issue or in the Discussions before? No

PR Checklist

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud