|
|
|
@ -1,3 +1,4 @@ |
|
|
|
|
{{ if and (isset .Site.Params "matomo") (eq .Site.Params.matomo.enable true) }} |
|
|
|
|
<script type="text/javascript"> |
|
|
|
|
window.addEventListener("load", function() { |
|
|
|
|
updateCookieConsent(); |
|
|
|
@ -15,4 +16,5 @@ |
|
|
|
|
<iframe |
|
|
|
|
style="border: 0; min-width: 100%; min-height: 200px" |
|
|
|
|
src="{{- .Site.Params.matomo.url -}}/index.php?module=CoreAdminHome&action=optOut&language={{ .Site.Language.Lang }}&backgroundColor={{- .Site.Params.matomo.trackingstatus.backgroundcolor -}}&fontColor={{- .Site.Params.matomo.trackingstatus.fontcolor -}}&fontSize={{- .Site.Params.matomo.trackingstatus.fontsize -}}&fontFamily={{- .Site.Params.matomo.trackingstatus.fontfamily -}}" |
|
|
|
|
></iframe> |
|
|
|
|
></iframe> |
|
|
|
|
{{ end }} |
|
|
|
|