@financial-times/dotcom-ui-shell 11.2.0 → 11.2.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ const GTMHead = ({ flags }) => {
|
|
10
10
|
return null;
|
11
11
|
}
|
12
12
|
const src = flags['ads-first-party-gtm']
|
13
|
-
? 'https://www.ft.com/page-resources'
|
13
|
+
? 'https://www.ft.com/page-resources/'
|
14
14
|
: 'https://www.googletagmanager.com/gtm.js?id=GTM-NWQJW68';
|
15
15
|
const tagManager = `(function(w,d,s,l){
|
16
16
|
w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
|
@@ -292,7 +292,7 @@
|
|
292
292
|
"affectsGlobalScope": false
|
293
293
|
},
|
294
294
|
"../src/components/GTMHead.tsx": {
|
295
|
-
"version": "
|
295
|
+
"version": "2ce9c92d3f61daa8177dddac26a62a3a4d9d2625f02d143c5930e021f6d071d4",
|
296
296
|
"signature": "1249c5957984b42592b9f0859f51602874351c427acf3813b59524ce9946c065",
|
297
297
|
"affectsGlobalScope": false
|
298
298
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@financial-times/dotcom-ui-shell",
|
3
|
-
"version": "11.2.
|
3
|
+
"version": "11.2.1",
|
4
4
|
"description": "",
|
5
5
|
"main": "component.js",
|
6
6
|
"browser": "browser.js",
|
@@ -20,10 +20,10 @@
|
|
20
20
|
"author": "",
|
21
21
|
"license": "MIT",
|
22
22
|
"dependencies": {
|
23
|
-
"@financial-times/dotcom-ui-app-context": "^11.2.
|
24
|
-
"@financial-times/dotcom-ui-base-styles": "^11.2.
|
25
|
-
"@financial-times/dotcom-ui-bootstrap": "^11.2.
|
26
|
-
"@financial-times/dotcom-ui-flags": "^11.2.
|
23
|
+
"@financial-times/dotcom-ui-app-context": "^11.2.1",
|
24
|
+
"@financial-times/dotcom-ui-base-styles": "^11.2.1",
|
25
|
+
"@financial-times/dotcom-ui-bootstrap": "^11.2.1",
|
26
|
+
"@financial-times/dotcom-ui-flags": "^11.2.1",
|
27
27
|
"mime-types": "^2.1.26"
|
28
28
|
},
|
29
29
|
"peerDependencies": {
|
@@ -10,7 +10,7 @@ exports[`dotcom-ui-shell/src/components/GTMHead renders the first party gtm scri
|
|
10
10
|
w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
|
11
11
|
var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';
|
12
12
|
j.async=true;
|
13
|
-
j.src='https://www.ft.com/page-resources'+dl;
|
13
|
+
j.src='https://www.ft.com/page-resources/'+dl;
|
14
14
|
f.parentNode.insertBefore(j,f);
|
15
15
|
})(window,document,'script','dataLayer');",
|
16
16
|
}
|
@@ -8,7 +8,7 @@ const GTMHead = ({ flags }: { flags: TFlagsData }) => {
|
|
8
8
|
}
|
9
9
|
|
10
10
|
const src = flags['ads-first-party-gtm']
|
11
|
-
? 'https://www.ft.com/page-resources'
|
11
|
+
? 'https://www.ft.com/page-resources/'
|
12
12
|
: 'https://www.googletagmanager.com/gtm.js?id=GTM-NWQJW68'
|
13
13
|
|
14
14
|
const tagManager = `(function(w,d,s,l){
|