Skip to content

Commit

Permalink
Merge branch 'main' into BCDA-8434
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-pf authored Nov 20, 2024
2 parents 4f7637e + 73d5ec0 commit 51a7d7c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion assets/js/tagging.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
---

(function(a,b,c,d){
a='https://tags.tiqcdn.com/utag/cmsgov/cms-general/{{ jekyll.environment }}/utag.js';
a='https://tealium-tags.cms.gov/cms-general/{{ jekyll.environment }}/utag.js';
b=document;c='script';d=b.createElement(c);d.src=a;
d.type='text/java'+c;d.async=true;
a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a);
})();

(function(a,b,c,d){
a='https://tealium-tags.cms.gov/cms-general/{{ jekyll.environment }}/utag.sync.js';
b=document;c='script';d=b.createElement(c);d.src=a;
a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a);
})();

function metricTagging(category, action, label) {
utag.link({ ga_event_category: category, ga_event_action: action, ga_event_label: label });
};

0 comments on commit 51a7d7c

Please sign in to comment.