Skip to content

Commit f8d83a4

Browse files
committed
Add script statement for utag.sync.js
1 parent b3a7624 commit f8d83a4

4 files changed

Lines changed: 44 additions & 20 deletions

File tree

index.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,17 @@
267267
"https://assets.adobedtm.com/a5bd983fc228/a715fbe791c6/launch-cfa4016bf67d.min.js";
268268
alaunchEnv = "production";
269269
}
270-
const script = document.createElement("script");
271-
script.type = "text/javascript";
272-
script.src = alaunch;
273-
script.async = true;
274-
document.head.appendChild(script);
270+
const alaunchScript = document.createElement("script");
271+
alaunchScript.type = "text/javascript";
272+
alaunchScript.src = alaunch;
273+
alaunchScript.async = true;
274+
document.head.appendChild(alaunchScript);
275+
276+
/*Tealium iQ utag.sync.js*/
277+
const tiqScript = document.createElement("script");
278+
tiqScript.type = "text/javascript";
279+
tiqScript.src = `https://tags.tiqcdn.com/utag/blastam/arsari-training/${tealiumEnv}/utag.sync.js`;
280+
document.head.appendChild(tiqScript);
275281

276282
/* Amplitude Analytics Init */
277283
const enrichEventsPlugin = () => ({

public/iframe-parent.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,17 @@
235235
"https://assets.adobedtm.com/a5bd983fc228/a715fbe791c6/launch-cfa4016bf67d.min.js";
236236
alaunchEnv = "production";
237237
}
238-
const script = document.createElement("script");
239-
script.type = "text/javascript";
240-
script.src = alaunch;
241-
script.async = true;
242-
document.head.appendChild(script);
238+
const alaunchScript = document.createElement("script");
239+
alaunchScript.type = "text/javascript";
240+
alaunchScript.src = alaunch;
241+
alaunchScript.async = true;
242+
document.head.appendChild(alaunchScript);
243+
244+
/*Tealium iQ utag.sync.js*/
245+
const tiqScript = document.createElement("script");
246+
tiqScript.type = "text/javascript";
247+
tiqScript.src = `https://tags.tiqcdn.com/utag/blastam/arsari-training/${tealiumEnv}/utag.sync.js`;
248+
document.head.appendChild(tiqScript);
243249

244250
/* Amplitude Analytics Init */
245251
const enrichEventsPlugin = () => ({

public/internal.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,17 @@
235235
"https://assets.adobedtm.com/a5bd983fc228/a715fbe791c6/launch-cfa4016bf67d.min.js";
236236
alaunchEnv = "production";
237237
}
238-
const script = document.createElement("script");
239-
script.type = "text/javascript";
240-
script.src = alaunch;
241-
script.async = true;
242-
document.head.appendChild(script);
238+
const alaunchScript = document.createElement("script");
239+
alaunchScript.type = "text/javascript";
240+
alaunchScript.src = alaunch;
241+
alaunchScript.async = true;
242+
document.head.appendChild(alaunchScript);
243+
244+
/*Tealium iQ utag.sync.js*/
245+
const tiqScript = document.createElement("script");
246+
tiqScript.type = "text/javascript";
247+
tiqScript.src = `https://tags.tiqcdn.com/utag/blastam/arsari-training/${tealiumEnv}/utag.sync.js`;
248+
document.head.appendChild(tiqScript);
243249

244250
/* Amplitude Analytics Init */
245251
const enrichEventsPlugin = () => ({

public/privacy.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,17 @@
235235
"https://assets.adobedtm.com/a5bd983fc228/a715fbe791c6/launch-cfa4016bf67d.min.js";
236236
alaunchEnv = "production";
237237
}
238-
const script = document.createElement("script");
239-
script.type = "text/javascript";
240-
script.src = alaunch;
241-
script.async = true;
242-
document.head.appendChild(script);
238+
const alaunchScript = document.createElement("script");
239+
alaunchScript.type = "text/javascript";
240+
alaunchScript.src = alaunch;
241+
alaunchScript.async = true;
242+
document.head.appendChild(alaunchScript);
243+
244+
/*Tealium iQ utag.sync.js*/
245+
const tiqScript = document.createElement("script");
246+
tiqScript.type = "text/javascript";
247+
tiqScript.src = `https://tags.tiqcdn.com/utag/blastam/arsari-training/${tealiumEnv}/utag.sync.js`;
248+
document.head.appendChild(tiqScript);
243249

244250
/* Amplitude Analytics Init */
245251
const enrichEventsPlugin = () => ({

0 commit comments

Comments
 (0)