Skip to content

Commit

Permalink
Merge pull request #740 from hlxsites/lcp-pdp-fix2
Browse files Browse the repository at this point in the history
[do not merge]: try to improve LCP loading - test 2
  • Loading branch information
davenichols-DHLS authored Feb 6, 2024
2 parents 331b03f + 81b4fb1 commit 892e28b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,9 @@ async function loadPage() {
}

// Danaher Config - Start
if (window.location.host === 'lifesciences.danaher.com') {
const urlParams = new URLSearchParams(window.location.search);
const useProd = urlParams.get('useProd');
if (window.location.host === 'lifesciences.danaher.com' || useProd === 'true') {
window.DanaherConfig = {
siteID: 'ls-us-en',
gtmID: 'GTM-THXPLCS',
Expand Down

0 comments on commit 892e28b

Please sign in to comment.