From fb1421a928bae2f919f44f38c1abb9c82c598f73 Mon Sep 17 00:00:00 2001 From: Jen Schripsema Date: Fri, 21 Nov 2025 14:39:03 -0700 Subject: [PATCH] added google tag manager for analytics tracking --- .../integrations/analytics/custom.html | 21 +++++++++++++++++++ mkdocs.yml | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 docs/customization/overrides/partials/integrations/analytics/custom.html diff --git a/docs/customization/overrides/partials/integrations/analytics/custom.html b/docs/customization/overrides/partials/integrations/analytics/custom.html new file mode 100644 index 0000000..5ecb4bd --- /dev/null +++ b/docs/customization/overrides/partials/integrations/analytics/custom.html @@ -0,0 +1,21 @@ +{# page partial for GTM analytics code, extends "!page.html" +#} + +{% block extrahead %} + + + + + + + + + + + +{% endblock %} diff --git a/mkdocs.yml b/mkdocs.yml index 9ca8cfe..0e7ba98 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -85,8 +85,8 @@ extra: - icon: fontawesome/brands/slack link: https://gatesfoundation.enterprise.slack.com/ analytics: - provider: google - property: # no tracking until we can implement OneTrust cookie consent + provider: custom + tracking_id: GTM-NK4K647 feedback: title: Was this page helpful? ratings: