Add param to set a self hosted plausible server
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
{{- /* Plausible Analytics */ -}}
|
||||
{{- with $analytics.plausible.dataDomain -}}
|
||||
{{- dict "Source" "https://plausible.io/js/plausible.js" "Async" true "Defer" true "Attr" ($analytics.plausible.dataDomain | printf `data-domain="%v"`) | partial "plugin/script.html" -}}
|
||||
{{- dict "Source" ($analytics.plausible.server | default "plausible.io" | printf "https://%v/js/plausible.js") "Async" true "Defer" true "Attr" ($analytics.plausible.dataDomain | printf `data-domain="%v"`) | partial "plugin/script.html" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- /* Yandex Metrica */ -}}
|
||||
|
||||
Reference in New Issue
Block a user