Skip to content

Commit

Permalink
DPC-3979 Change sandbox to use prod tealium (#106)
Browse files Browse the repository at this point in the history
## 🎫 Ticket

https://jira.cms.gov/browse/DPC-2979

## 🛠 Changes

- default layout changed to use /prod/ instead of /qa/ as src_url for
calls
- shared header changed to pull in /prod/ instead of /qa/ JavaScript
file

## ℹ️ Context for reviewers

Sandbox is considered production in terms of end users

## ✅ Acceptance Validation

Impossible to test until rollout

## 🔒 Security Implications

- [ ] This PR adds a new software dependency or dependencies.
- [ ] This PR modifies or invalidates one or more of our security
controls.
- [ ] This PR stores or transmits data that was not stored or
transmitted before.
- [ ] This PR requires additional review of its security implications
for other reasons.

If any security implications apply, add Jason Ashbaugh (GitHub username:
StewGoin) as a reviewer and do not merge this PR without his approval.
  • Loading branch information
jdettmannnava committed Mar 26, 2024
1 parent 298cb42 commit e422f2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions _includes/_head.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
<meta name="version" content="{{ site.version }}">

<!-- Tealium Tag Manager - SYNC -->
{% if jekyll.environment == 'prod' %}
{% if jekyll.environment == 'prod' or jekyll.environment == 'stage' %}
<script src="https://tags.tiqcdn.com/utag/cmsgov/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>
{% else %}
<script src="https://tags.tiqcdn.com/utag/cmsgov/cms-dpc/dev/utag.sync.js"></script>
{% endif %}
Expand Down
4 changes: 1 addition & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@
<script type="text/javascript">
(function(a,b,c,d){
var src_url = '';
{% if jekyll.environment == 'prod' %}
{% if jekyll.environment == 'prod' or jekyll.environment == 'stage' %}
src_url = 'https://tags.tiqcdn.com/utag/cmsgov/cms-dpc/prod/utag.js';
{% elsif jekyll.environment == 'stage' %}
src_url = 'https://tags.tiqcdn.com/utag/cmsgov/cms-dpc/qa/utag.js';
{% else %}
src_url = 'https://tags.tiqcdn.com/utag/cmsgov/cms-dpc/dev/utag.js';
{% endif %}
Expand Down

0 comments on commit e422f2a

Please sign in to comment.