hof 20.2.25 → 20.2.26
Sign up to get free protection for your applications and to get access to all the features.
@@ -58,35 +58,3 @@
|
|
58
58
|
}
|
59
59
|
</script>
|
60
60
|
{{/ga4TagId}}
|
61
|
-
|
62
|
-
{{#gtmTagId}}
|
63
|
-
<!-- Google Tag Manager Data Layer for ETA -->
|
64
|
-
<script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>
|
65
|
-
var preferences = JSON.parse(GOVUK.cookie('cookie_preferences'));
|
66
|
-
|
67
|
-
if (preferences !== null && preferences.usage === true) {
|
68
|
-
window.dataLayer = window.dataLayer || [];
|
69
|
-
dataLayer.push({
|
70
|
-
'event': 'pageLoad',
|
71
|
-
'pageName': 'ETA | Customer Contact Webform | {{gtm-page}}',
|
72
|
-
'applicationType': 'ETA | Customer Contact',
|
73
|
-
'environmentType': '{{environmentType}}'
|
74
|
-
});
|
75
|
-
}
|
76
|
-
</script>
|
77
|
-
<!-- End Google Tag Manager Data Layer for ETA -->
|
78
|
-
|
79
|
-
<!-- Google Tag Manager for ETA -->
|
80
|
-
<script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>
|
81
|
-
var preferences = JSON.parse(GOVUK.cookie('cookie_preferences'));
|
82
|
-
|
83
|
-
if (preferences !== null && preferences.usage === true) {
|
84
|
-
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
85
|
-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
86
|
-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
87
|
-
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
88
|
-
})(window,document,'script','dataLayer','{{gtmTagId}}');
|
89
|
-
}
|
90
|
-
</script>
|
91
|
-
<!-- End Google Tag Manager for ETA -->
|
92
|
-
{{/gtmTagId}}
|