1
0
Fork 0
hugo-matomo/layouts/shortcodes/matomo_privacy.html

18 lines
No EOL
1 KiB
HTML

<script type="text/javascript">
window.addEventListener("load", function() {
updateCookieConsent();
}, false);
</script>
<p><u>{{ i18n "cookieConsentStatus" }}</u></p>
<p style="line-height: initial;">
{{ i18n "cookieConsentText" }} <a href="https://matomo.org/faq/general/faq_146/" target="_blank">{{ i18n "cookieConsentHere" }}</a>. {{ i18n "cookieConsentTrack" }}
<p>
<span></span>
<button style="visibility: hidden;" id="cookiesaction" class="consentCookieButton"></button>
</p>
</p>
<p><u>{{ i18n "trackingStatus" }}</u></p>
<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>