Skip to content

Commit

Permalink
DPC-4181 Tealium updates to static site (#130)
Browse files Browse the repository at this point in the history
## 🎫 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 CMSgov/dpc-app#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.
  • Loading branch information
MEspositoE14s authored Oct 29, 2024
1 parent 57eff29 commit edf54fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions _includes/_head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

<!-- Tealium Tag Manager - SYNC -->
{% if jekyll.environment == 'prod' %}
<script src="https://tags.tiqcdn.com/utag/cmsgov/cms-dpc/prod/utag.sync.js"></script>
<script src="https://tealium-tags.cms.gov/cms-dpc/prod/utag.sync.js"></script>
{% elsif jekyll.environment == 'stage' %}
<script src="https://tags.tiqcdn.com/utag/cmsgov/cms-dpc/qa/utag.sync.js"></script>
<script src="https://tealium-tags.cms.gov/cms-dpc/qa/utag.sync.js"></script>
{% else %}
<script src="https://tags.tiqcdn.com/utag/cmsgov/cms-dpc/dev/utag.sync.js"></script>
<script src="https://tealium-tags.cms.gov/cms-dpc/dev/utag.sync.js"></script>
{% endif %}

<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
Expand Down
6 changes: 3 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
static_site:
build:
Expand Down

0 comments on commit edf54fd

Please sign in to comment.