{{ if .Site.Params.umamiScriptUrl }}
    {{ if .Site.Params.umamiWebsiteId }}
        <script
            async
            defer
            data-website-id="{{ .Site.Params.umamiWebsiteId }}"
            src="{{ .Site.Params.umamiScriptUrl }}"
        ></script>
    {{ end }}
{{ end }}
