From b93f090a4f864aa1df99b4b7c9c7d87d0b9bca07 Mon Sep 17 00:00:00 2001 From: Jan Brasna <1784648+janbrasna@users.noreply.github.com> Date: Sat, 13 Jul 2024 18:39:05 +0200 Subject: [PATCH 1/2] Add legacy UA ID to mkdocs.yml GA4 settings GA4 integration should continue gathering data for (auto)migrated GA3/UA properties. --- mkdocs.yml | 2 ++ 1 file changed, 2 insertions(+) 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 From 1080d49d0a5a7690fa4fe38a342aa27459c50964 Mon Sep 17 00:00:00 2001 From: Jan Brasna <1784648+janbrasna@users.noreply.github.com> Date: Sat, 13 Jul 2024 23:01:20 +0200 Subject: [PATCH 2/2] Update base block analytics --- theme/base.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %}