mkdocs-material/material/templates/partials/integrations/analytics.html
2023-09-20 13:58:03 +02:00

15 lines
534 B
HTML

{#-
This file was automatically generated - do not edit
-#}
{% if config.extra.analytics %}
{% set provider = config.extra.analytics.provider %}
{% endif %}
{% if provider %}
{% include "partials/integrations/analytics/" ~ provider ~ ".html" %}
{% if config.extra.consent %}
<script>var consent;"undefined"==typeof __md_analytics||(consent=__md_get("__consent"))&&consent.analytics&&__md_analytics()</script>
{% else %}
<script>"undefined"!=typeof __md_analytics&&__md_analytics()</script>
{% endif %}
{% endif %}