@govuk-one-login/frontend-ui 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
{% set assetPath = "/public/rebrand"%}
|
|
4
4
|
{% endif %}
|
|
5
5
|
|
|
6
|
-
{% set isPageDataSensitive = false %}
|
|
7
6
|
{% extends "form-template.njk" %}
|
|
8
7
|
|
|
9
|
-
{% from "frontend-analytics/components/ga4-opl/macro.njk" import frontendAnalyticsGa4OnPageLoad %}
|
|
10
8
|
{% from "frontend-ui/build/components/cookie-banner/macro.njk" import frontendUiCookieBanner %}
|
|
11
9
|
{% from "frontend-ui/build/components/phase-banner/macro.njk" import frontendUiPhaseBanner %}
|
|
12
10
|
{% from "frontend-ui/build/components/header/macro.njk" import frontendUiHeader %}
|
|
@@ -85,8 +83,7 @@
|
|
|
85
83
|
enableNavigationTracking:{{ga4NavigationEnabled}},
|
|
86
84
|
enableSelectContentTracking:{{ga4SelectContentEnabled}},
|
|
87
85
|
cookieDomain:"{{analyticsCookieDomain}}",
|
|
88
|
-
isDataSensitive:
|
|
89
|
-
isPageDataSensitive: {{ isPageDataSensitive }},
|
|
86
|
+
isDataSensitive:{{analyticsDataSensitive}}
|
|
90
87
|
}
|
|
91
88
|
);
|
|
92
89
|
</script>
|
|
@@ -99,11 +96,5 @@
|
|
|
99
96
|
</script>
|
|
100
97
|
{% endif %}
|
|
101
98
|
|
|
102
|
-
{{ frontendAnalyticsGa4OnPageLoad({
|
|
103
|
-
nonce: cspNonce,
|
|
104
|
-
dynamic: isPageDynamic,
|
|
105
|
-
englishPageTitle: pageTitleKey | translateToEnglish
|
|
106
|
-
})}}
|
|
107
|
-
|
|
108
99
|
{% endblock %}
|
|
109
100
|
{% endblock %}
|
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
{% set assetPath = "/public/rebrand"%}
|
|
4
4
|
{% endif %}
|
|
5
5
|
|
|
6
|
-
{% set isPageDataSensitive = false %}
|
|
7
6
|
{% extends "hmpo-template.njk" %}
|
|
8
7
|
|
|
9
|
-
{% from "frontend-analytics/components/ga4-opl/macro.njk" import frontendAnalyticsGa4OnPageLoad %}
|
|
10
8
|
{% from "frontend-ui/build/components/cookie-banner/macro.njk" import frontendUiCookieBanner %}
|
|
11
9
|
{% from "frontend-ui/build/components/phase-banner/macro.njk" import frontendUiPhaseBanner %}
|
|
12
10
|
{% from "frontend-ui/build/components/header/macro.njk" import frontendUiHeader %}
|
|
@@ -85,7 +83,7 @@
|
|
|
85
83
|
enableNavigationTracking:{{ga4NavigationEnabled}},
|
|
86
84
|
enableSelectContentTracking:{{ga4SelectContentEnabled}},
|
|
87
85
|
cookieDomain:"{{analyticsCookieDomain}}",
|
|
88
|
-
|
|
86
|
+
isDataSensitive:{{analyticsDataSensitive}}
|
|
89
87
|
});
|
|
90
88
|
</script>
|
|
91
89
|
|
|
@@ -97,11 +95,5 @@
|
|
|
97
95
|
</script>
|
|
98
96
|
{% endif %}
|
|
99
97
|
|
|
100
|
-
{{ frontendAnalyticsGa4OnPageLoad({
|
|
101
|
-
nonce: cspNonce,
|
|
102
|
-
dynamic: isPageDynamic,
|
|
103
|
-
englishPageTitle: pageTitleKey | translateToEnglish
|
|
104
|
-
})}}
|
|
105
|
-
|
|
106
98
|
{% endblock %}
|
|
107
99
|
{% endblock %}
|