chore: added support to on-premise deployment of umami service
This commit is contained in:
parent
52ddf33f88
commit
f7acfb0882
2 changed files with 4 additions and 2 deletions
|
@ -174,8 +174,10 @@ params:
|
|||
# matomo:
|
||||
# instance: matomo.example.com
|
||||
# siteId: 1 # Or any other number
|
||||
# # Matomo / Piwik
|
||||
# # Umami
|
||||
# umami:
|
||||
# proto: https
|
||||
# instance: umami.example.com
|
||||
# id: <your umami site id>
|
||||
|
||||
# Enable Support
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
|
||||
{{ with .umami }}
|
||||
<!-- Umami analytics -->
|
||||
<script defer src="https://analytics.eu.umami.is/script.js" data-website-id="{{ .id }}"></script>
|
||||
<script defer src='{{ or .proto "https" }}://{{ or .instance "analytics.eu.umami.is" }}/script.js' data-website-id="{{ .id }}"></script>
|
||||
<!-- End Umami analytics -->
|
||||
{{end}}
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue