1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-26 14:24:54 +01:00
mkdocs-material/material/templates/partials/integrations/analytics.html

15 lines
534 B
HTML
Raw Normal View History

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