hof 22.8.1 → 22.8.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2025-07-16, Version 22.8.3 (Stable), @vivekkumar-ho
2
+ ### Changed
3
+ - Updated the cookies page to include the GA container ID, which corresponds to the Measurement ID.
4
+
1
5
  ## 2025-07-04, Version 22.8.1 (Stable), @gregaustinHO
2
6
  ### Added
3
7
  - Add support for source maps while debugging
@@ -61,6 +61,8 @@
61
61
  },
62
62
  "no-identify": "No personal details are stored with this information, so you can’t be identified.",
63
63
  "analytics-table": {
64
+ "containerIdExpires": "2 years",
65
+ "containerIdPurpose": "Used to persist session state",
64
66
  "headers": [
65
67
  "Name",
66
68
  "Purpose",
@@ -66,7 +66,7 @@
66
66
  {{/google-analytics-list}}
67
67
  <p>{{no-identify}}</p>
68
68
  {{#analytics-table}}
69
- {{> partials-table}}
69
+ {{> partials-analytics-table}}
70
70
  {{/analytics-table}}
71
71
  {{#indent-ga}}
72
72
  {{> partials-panel-indent}}
@@ -0,0 +1,25 @@
1
+ <table class="govuk-table">
2
+ <thead class="govuk-table__head">
3
+ <tr class="govuk-table__row">
4
+ {{#headers}}
5
+ <th scope="col" class="govuk-table__header app-custom-class">{{.}}</th>
6
+ {{/headers}}
7
+ </tr>
8
+ </thead>
9
+ <tbody class="govuk-table__body">
10
+ {{#rows}}
11
+ <tr class="govuk-table__row">
12
+ {{#.}}
13
+ <td class="govuk-table__cell">{{.}}</td>
14
+ {{/.}}
15
+ </tr>
16
+ {{/rows}}
17
+ <tr class="govuk-table__row">
18
+ {{#gaContainerId}}
19
+ <td>_ga_{{gaContainerId}}</td>
20
+ <td>{{containerIdPurpose}}</td>
21
+ <td>{{containerIdExpires}}</td>
22
+ {{/gaContainerId}}
23
+ </tr>
24
+ </tbody>
25
+ </table>
package/index.js CHANGED
@@ -162,6 +162,7 @@ function bootstrap(options) {
162
162
  res.locals.exitFormContent = config.exitFormContent;
163
163
  res.locals.saveExitFormContent = config.saveExitFormContent;
164
164
  res.locals.serviceUnavailable = config.serviceUnavailable;
165
+ res.locals.gaContainerId = config.ga4TagId;
165
166
  next();
166
167
  });
167
168
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "22.8.1",
4
+ "version": "22.8.3",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",