From 49ad7f6b5bf9d8ed8429857b7d2f2c2da2d3f56f Mon Sep 17 00:00:00 2001 From: Jason Cross Date: Sat, 10 Sep 2022 14:48:40 -0500 Subject: [PATCH] Switches GA with Tag manager, for #8 --- src/_layouts/base.njk | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/_layouts/base.njk b/src/_layouts/base.njk index ce526ea..ebd25a9 100755 --- a/src/_layouts/base.njk +++ b/src/_layouts/base.njk @@ -9,17 +9,15 @@ } - {# Google Analytics #} + {# Google Tag Manager #} {% if env.isProd %} - + + + {% endif %} {# Check frontmatter for redirect command #} @@ -41,6 +39,13 @@ + + {# Google Tag Manager (noscript) #} + + + + {# Hero #}