From 42b88faa3f42ed3df9f432885b20b4463fef9c85 Mon Sep 17 00:00:00 2001 From: rschamp Date: Fri, 10 Dec 2021 11:03:40 -0500 Subject: [PATCH 1/2] Add configuration for GTM --- src/template-config.js | 3 ++- src/template.ejs | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/template-config.js b/src/template-config.js index 4495f442b..13cf2ed0e 100644 --- a/src/template-config.js +++ b/src/template-config.js @@ -28,5 +28,6 @@ module.exports = { og_image_height: 860, // Analytics & Monitoring - ga_tracker: process.env.GA_TRACKER || '' + ga_tracker: process.env.GA_TRACKER || '', + gtm_id: process.env.GTM_ID || '' }; diff --git a/src/template.ejs b/src/template.ejs index 316e06502..19105dd6f 100644 --- a/src/template.ejs +++ b/src/template.ejs @@ -3,6 +3,16 @@ + <% if (htmlWebpackPlugin.options.gtm_id) { %> + + + + <% } %> + @@ -55,6 +65,11 @@ + <% if (htmlWebpackPlugin.options.gtm_id) { %> + + + + <% } %> From a1ad451c5e93100249e1e96b5481a3bd37ce8572 Mon Sep 17 00:00:00 2001 From: rschamp Date: Fri, 10 Dec 2021 15:21:35 -0500 Subject: [PATCH 2/2] Use large resource class Copy of c78ab03bd82b2cf5cb6fc12c601dd512074d61d0 /ht @bryceltaylor --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d89d339bf..c84e98a98 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,7 +40,7 @@ aliases: - v1-build- - &build <<: *defaults - resource_class: medium+ + resource_class: large steps: - *restore_git_cache - checkout