diff --git a/docs/_templates/partials/integrations/analytics.html b/docs/_templates/partials/integrations/analytics.html new file mode 100644 index 00000000..63eba181 --- /dev/null +++ b/docs/_templates/partials/integrations/analytics.html @@ -0,0 +1,31 @@ + + + +{% if config.extra.analytics %} + {% set provider = config.extra.analytics.provider %} +{% endif %} + + +{% if provider %} + {% include "partials/integrations/analytics/" ~ provider ~ ".html" %} +{% endif %} diff --git a/docs/_templates/partials/integrations/analytics/google.html b/docs/_templates/partials/integrations/analytics/google.html new file mode 100644 index 00000000..0a7af0c2 --- /dev/null +++ b/docs/_templates/partials/integrations/analytics/google.html @@ -0,0 +1,17 @@ + +{% if config.extra.analytics %} + {% set property = config.extra.analytics.property | d("", true) %} +{% endif %} + + +{% if property.startswith("G-") %} + + + +{% endif %} \ No newline at end of file