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

Umami Fix to allow self-hosted configurations #488

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rterakedis
Copy link
Contributor

@rterakedis rterakedis commented Jan 27, 2025

Fixing the first version of the code to allow self-hosted configurations.

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

Currently, the Umami code in the analytics.html partial assumes the cloud-hosted umami script URL and is not configurable.

Proposed changes

As mentioned in the previous pull request, umami can be self-hosted. This PR intends to fix the original PR by making the script hosting URL configurable.

Screenshots, if applicable

N/A - this is not a visual change. It alters the analytics partial which loads in the <head>...</head> section of HTML.

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.

Fixing the original code to allow self-hosted configurations.

Signed-off-by: Robert Terakedis <[email protected]>
@rterakedis rterakedis mentioned this pull request Jan 27, 2025
8 tasks
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.

2 participants