From 8d8e6dd1f97c1d187ae0f0c1819e2ca22a3eeee6 Mon Sep 17 00:00:00 2001 From: Sheldon Bachstein <9039672+sheldon-b@users.noreply.github.com> Date: Mon, 28 Oct 2024 10:21:24 -0400 Subject: [PATCH] Add google tag manager scripts (#128) --- _includes/core/google-tag-manager-noscript.html | 10 ++++++++++ _includes/core/google-tag-manager-script.html | 14 ++++++++++++++ _layouts/base.html | 5 +++-- 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 _includes/core/google-tag-manager-noscript.html create mode 100644 _includes/core/google-tag-manager-script.html diff --git a/_includes/core/google-tag-manager-noscript.html b/_includes/core/google-tag-manager-noscript.html new file mode 100644 index 0000000..fc0ce5f --- /dev/null +++ b/_includes/core/google-tag-manager-noscript.html @@ -0,0 +1,10 @@ + + + diff --git a/_includes/core/google-tag-manager-script.html b/_includes/core/google-tag-manager-script.html new file mode 100644 index 0000000..fd30f02 --- /dev/null +++ b/_includes/core/google-tag-manager-script.html @@ -0,0 +1,14 @@ + + + diff --git a/_layouts/base.html b/_layouts/base.html index 0c45fb2..e1c7994 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -1,12 +1,13 @@ - {% include core/meta.html %} {% include core/css.html %} + {% include core/google-tag-manager-script.html %} {% include core/meta.html + %} {% include core/css.html %} - {{ content }} + {% include core/google-tag-manager-noscript.html %} {{ content }}