{% if config.extra.analytics %}
{% set property = config.extra.analytics.property | d("", true) %}
{% endif %}

<script id="__analytics">
    function __md_analytics() {
        document.addEventListener("DOMContentLoaded", function () {
            if (document.forms.search) {
                var query = document.forms.search.query
                query.addEventListener("blur", function () {
                    if (this.value)
                        umami.track("search", { search_term: this.value })
     