Skip to content

Commit 99b06ec

Browse files
author
mhirdes
committed
[BUGFIX] Google Tag Manager inclusion
1 parent 0d28439 commit 99b06ec

1 file changed

Lines changed: 16 additions & 12 deletions

File tree

Configuration/TypoScript/Setup/Tracking/googleTagManager.ts

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,22 @@ page.jsInline.654.15 {
1818

1919
page.bodyTagCObject = COA
2020
page.bodyTagCObject {
21-
1 = TEXT
22-
1.value = <body>
23-
24-
654 = TEXT
21+
654 = COA
2522
654 {
26-
value = {$plugin.tx_csseo.tracking.googleTagManager}
27-
wrap (
28-
<!-- Google Tag Manager (noscript) -->
29-
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=|"
30-
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
31-
<!-- End Google Tag Manager (noscript) -->
32-
)
33-
required = 1
23+
10 = TEXT
24+
10.value = <body>
25+
26+
20 = TEXT
27+
20 {
28+
value = {$plugin.tx_csseo.tracking.googleTagManager}
29+
wrap (
30+
<!-- Google Tag Manager (noscript) -->
31+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=|" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
32+
<!-- End Google Tag Manager (noscript) -->
33+
)
34+
required = 1
35+
}
36+
37+
if.isTrue = {$plugin.tx_csseo.tracking.googleTagManager}
3438
}
3539
}

0 commit comments

Comments
 (0)