Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Umami Analytics Support #482

Merged
merged 2 commits into from
Jan 25, 2025

Conversation

rterakedis
Copy link
Contributor

Adding support for https://umami.is/ analytics.

Pull Request type

Please check the type of change your PR introduces:

  • Bug-fix
  • Feature (functionality, design, translations, etc.)
  • Documentation change
  • Project management (tests, CI, GitHub configuration, etc.)
  • Other (please describe):

Current state

Issue Number(s): Not related to a current issue.

Proposed changes

Add support for Umami analytics. This change adds code to analytics.html partial (adding the umami script reference), params.toml (for the configuration), and Readme.md for the detail on how to configure.

Screenshots, if applicable

image

Checklist

  • Bug-fixes and new features: I have tested locally with the latest release of Hugo extended. This requirement is a standard.
  • Bug-fixes, new features, and doc changes: I have updated the relevant documentation as part of this PR.
  • All PRs: I have signed off (using git commit -s ...), or if not possible due to developer environment constraints, will comment below confirming that I am adhering to the Developer Certificate of Origin.

Adding support for https://umami.is/ analytics.

Signed-off-by: Robert Terakedis <[email protected]>
@chipzoller chipzoller requested a review from onweru September 22, 2024 12:05
@chipzoller
Copy link
Owner

Thanks for this! Looks ok to me, requesting review from @onweru.

@rterakedis
Copy link
Contributor Author

@onweru / @chipzoller - can you merge this when convenient?

@chipzoller chipzoller merged commit 821d8fe into chipzoller:master Jan 25, 2025
3 checks passed
@chipzoller
Copy link
Owner

Sorry for the long delay and thank you!

@rterakedis
Copy link
Contributor Author

Thank you sir!!

@rterakedis rterakedis deleted the umami-analytics branch January 25, 2025 01:31
@blackmady
Copy link

<script defer src="https://cloud.umami.is/script.js" data-website-id="{{ . }}"></script>

src should also be changed to configurable, after all, umami is open source and can be deployed by yourself

@rterakedis
Copy link
Contributor Author

@blackmady - good point, I’ll submit another PR with a fix in the near future.

@rterakedis
Copy link
Contributor Author

@blackmady - Submitted a new PR: #488

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants