1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-18 18:36:07 +01:00
mkdocs-material/material/templates/partials/integrations/analytics.html
2024-08-26 10:58:56 +02:00

15 lines
536 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>if("undefined"!=typeof __md_analytics){var consent=__md_get("__consent");consent&&consent.analytics&&__md_analytics()}</script>
{% else %}
<script>"undefined"!=typeof __md_analytics&&__md_analytics()</script>
{% endif %}
{% endif %}