govuk_publishing_components 34.4.0 → 34.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d63109c1078fd71c2a1cd25da18616f1209fa78ce12fe896b201113f7c054f0
|
4
|
+
data.tar.gz: 29f71838f9ddaaf85f77d9968b3c2df7724453df3c7d8e36c35c69c66417bc45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69da39ed74e321310cb7f4ac557fe3894e93f94a3d86709143540537d69f25822bea82f2c5d13dc792f72b1690592bbf974be4f306d4ee3cf8017b36378034d5
|
7
|
+
data.tar.gz: de2fae5d728300c3be7c19528206e4c92eb8aefda3882672e3c76cd4f75b3c696897a08160a23ecc339a8d05ee7b8a854e146530466091f6478992da38da4eed
|
@@ -8,11 +8,13 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
8
8
|
window.GOVUK.modules.start()
|
9
9
|
|
10
10
|
// if statements ensure these functions don't execute during testing
|
11
|
-
if (typeof window.GOVUK.
|
12
|
-
window.GOVUK.
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
window.GOVUK.
|
11
|
+
if (typeof window.GOVUK.loadAnalytics !== 'undefined') {
|
12
|
+
window.GOVUK.analyticsGa4 = window.GOVUK.analyticsGa4 || {}
|
13
|
+
if (typeof window.GOVUK.analyticsGa4.vars === 'undefined') {
|
14
|
+
window.GOVUK.loadAnalytics.loadGa4()
|
15
|
+
}
|
16
|
+
if (typeof window.GOVUK.analyticsVars === 'undefined') {
|
17
|
+
window.GOVUK.loadAnalytics.loadUa()
|
18
|
+
}
|
17
19
|
}
|
18
20
|
})
|