diff --git a/mkdocs.yml b/mkdocs.yml index 658c59a00..a19bf07d5 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,6 +7,8 @@ repo_url: https://github.com/fastlane/docs theme: name: readthedocs custom_dir: theme + analytics: + gtag: UA-18658848-13 strict: false markdown_extensions: - markdown.extensions.attr_list diff --git a/theme/base.html b/theme/base.html index d5de67631..ad4c7a43f 100644 --- a/theme/base.html +++ b/theme/base.html @@ -56,14 +56,14 @@ {%- block extrahead %} {% endblock %} {%- block analytics %} - {% if config.google_analytics %} + {% if config.theme.analytics %} {% endif %}