{{ $plausible := site.Params.hugoblox.analytics.plausible.domain | default "" }}

{{ if hugo.IsProduction | and $plausible }}
<script defer data-domain="{{$plausible}}" src="https://plausible.io/js/script.js"></script>
{{ end }}
