From edf54fd2c3e410138b4a4e9c4e8d41bd63e9eb83 Mon Sep 17 00:00:00 2001 From: MEspositoE14s <133133846+MEspositoE14s@users.noreply.github.com> Date: Tue, 29 Oct 2024 11:43:08 -0400 Subject: [PATCH] DPC-4181 Tealium updates to static site (#130) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 🎫 Ticket https://jira.cms.gov/browse/DPC-4181 ## 🛠 Changes Updated Tealium scripts in the static site. ## ℹ️ Context The BlastX team asked us to update the Tealium scripts we use in the static site. See https://github.com/CMSgov/dpc-app/pull/2282 for dpc-web update. ## 🧪 Validation - Ran the site locally and verified the new scripts were called. - Pushed to stage environment, and currently awaiting validation from the BlastX team that the new scripts are doing what they want. This will not be merged until they sign off. --- _includes/_head.html | 6 +++--- _layouts/default.html | 6 +++--- docker-compose.yml | 2 -- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/_includes/_head.html b/_includes/_head.html index 27137547..1605bdb2 100644 --- a/_includes/_head.html +++ b/_includes/_head.html @@ -6,11 +6,11 @@ {% if jekyll.environment == 'prod' %} - + {% elsif jekyll.environment == 'stage' %} - + {% else %} - + {% endif %} {% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %} diff --git a/_layouts/default.html b/_layouts/default.html index 9728d0da..537202aa 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -18,11 +18,11 @@ (function(a,b,c,d){ var src_url = ''; {% if jekyll.environment == 'prod' %} - src_url = 'https://tags.tiqcdn.com/utag/cmsgov/cms-dpc/prod/utag.js'; + src_url = 'https://tealium-tags.cms.gov/cms-dpc/prod/utag.js'; {% elsif jekyll.environment == 'stage' %} - src_url = 'https://tags.tiqcdn.com/utag/cmsgov/cms-dpc/qa/utag.js'; + src_url = 'https://tealium-tags.cms.gov/cms-dpc/qa/utag.js'; {% else %} - src_url = 'https://tags.tiqcdn.com/utag/cmsgov/cms-dpc/dev/utag.js'; + src_url = 'https://tealium-tags.cms.gov/cms-dpc/dev/utag.js'; {% endif %} a=src_url;b=document;c='script';d=b.createElement(c); d.src=a;d.type='text/java'+c;d.async=true; diff --git a/docker-compose.yml b/docker-compose.yml index 496fb362..ca954468 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3' - services: static_site: build: