From e32521fb5e59d2f380f550050a254cc314056b42 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Wed, 13 Nov 2019 02:55:17 -0600 Subject: [PATCH] Add more analytics --- _config.yml | 1 + _dev.yml | 1 + _includes/body.html | 6 ++++++ _includes/head/custom.html | 13 +++++++++++++ _layouts/default.html | 1 + 5 files changed, 22 insertions(+) create mode 100644 _includes/body.html create mode 100644 _includes/head/custom.html diff --git a/_config.yml b/_config.yml index 04b5d8b..fcbc650 100644 --- a/_config.yml +++ b/_config.yml @@ -36,6 +36,7 @@ analytics: provider: google-universal google: tracking_id: UA-83783540-1 +gtm: GTM-55MC869 # Site Author author: diff --git a/_dev.yml b/_dev.yml index 4690b04..f7badae 100644 --- a/_dev.yml +++ b/_dev.yml @@ -2,3 +2,4 @@ url: http://localhost:4000 analytics: provider: false +gtm: false diff --git a/_includes/body.html b/_includes/body.html new file mode 100644 index 0000000..942adcc --- /dev/null +++ b/_includes/body.html @@ -0,0 +1,6 @@ +{% if site.gtm %} + + + +{% endif %} diff --git a/_includes/head/custom.html b/_includes/head/custom.html new file mode 100644 index 0000000..345f312 --- /dev/null +++ b/_includes/head/custom.html @@ -0,0 +1,13 @@ + + +{% if site.gtm %} + + + +{% endif %} + + diff --git a/_layouts/default.html b/_layouts/default.html index f2adcd3..1f7cbbd 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -16,6 +16,7 @@ + {% include body.html %} {% include_cached browser-upgrade.html %} {% include_cached masthead.html %}