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 analytics support #5607

Open
hadestructhor opened this issue Feb 8, 2025 · 0 comments Β· May be fixed by #5608
Open

Umami analytics support #5607

hadestructhor opened this issue Feb 8, 2025 · 0 comments Β· May be fixed by #5608
Labels
feature-request Request for new features to be added

Comments

@hadestructhor
Copy link

πŸ“‘ I have found these related issues/pull requests

Related to 2180.

I would like to track visits to my status pages using umami.

🏷️ Feature Request Type

Status-page, API / automation options

πŸ”– Feature description

In the status page editor you should add two fields for umami tracking.
One for domain name, one for website id.
Then those information can be used to add a script tag to the head to reference the umami tracking.

βœ”οΈ Solution

I saw the code for the google analytics feature.
I can probably easily add umami support as well, with two fields. One script url and the other being the website id.

An umami tracker script looks like this :

<script defer src="https://{{domainUrl}}/script.js" data-website-id="{{websiteId}}"></script>

Where {{domainUrl}} is something like example.com and {{websiteId}} is something like fb992981-2c95-4962-abf1-9c72e8504dr3.

This should add a script tag to the head tag on the status page

❓ Alternatives

No response

πŸ“ Additional Context

I do not want to use Google Analytics as I like to host all my information.
I also saw you could contribute to uptime-kuma and need to create an issue first, so this is why I'm doing it (as I wouldn't mind contributing and adding this feature since I need it and am a developer).

@hadestructhor hadestructhor added the feature-request Request for new features to be added label Feb 8, 2025
@hadestructhor hadestructhor linked a pull request Feb 8, 2025 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features to be added
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant