add missing url for umami

This commit is contained in:
Jan Fader 2022-08-13 08:45:43 +02:00
parent 005afbf045
commit 3ffaa7651f
No known key found for this signature in database
GPG Key ID: 1A6BDEFB0E27FA44
2 changed files with 2 additions and 1 deletions

View File

@ -125,6 +125,7 @@ params:
dnt: true # optional
id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" # mandatory
datacache: false # optional
url: "https://abc.example.com/umami.js" # mandatory
graphcommentId: ""
webmentions:
url: https://yourdomain.com/webemntions/receive

View File

@ -1,3 +1,3 @@
{{ $dnt := .Site.Params.UmamiAnalytics.dnt | default "false" }}
{{ $datacache := .Site.Params.UmamiAnalytics.datacache | default "false" }}
<script async defer data-website-id="{{ .Site.Params.UmamiAnalytics.id }}" data-cache="{{ $datacache }}" data-do-not-track="{{ $dnt }}" src="https://statistics.faderweb.de/umami.js"></script>
<script async defer data-website-id="{{ .Site.Params.UmamiAnalytics.id }}" data-cache="{{ $datacache }}" data-do-not-track="{{ $dnt }}" src="{{ .Site.Params.UmamiAnalytics.url }}"></script>