mkdocs-material/material/templates/partials/integrations/analytics.html

15 lines
534 B
HTML
Raw Normal View History

2019-09-28 20:42:54 +03:00
{#-
This file was automatically generated - do not edit
-#}
2021-06-06 18:32:30 +03:00
{% 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 %}