Skip to content

Commit

Permalink
Merge pull request #149 from govuk-one-login/DFC-640-GA4-Update-taxon…
Browse files Browse the repository at this point in the history
…omyLevel1

DFC-640 | GA4| Update taxonomy level1 for pageViewTracker
  • Loading branch information
SophiaDWokoma authored Aug 16, 2024
2 parents c614dfa + cdd12d1 commit 8cff7d7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/views/errors/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1 id="header" data-page="{{hmpoPageKey}}" class="govuk-heading-l">
.trackOnPageLoad({
statusCode: '500', // Access status code
englishPageTitle: '{{translate("pages.error.title")}}',
taxonomy_level1: 'CRI', // Access taxonomy level 1
taxonomy_level1: 'web cri', // Access taxonomy level 1
taxonomy_level2: 'error', // Access taxonomy level 2
content_id: '003',
logged_in_status: true,
Expand Down
2 changes: 1 addition & 1 deletion src/views/errors/page-not-found.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 id="header" data-page="{{hmpoPageKey}}" class="govuk-heading-l">
.trackOnPageLoad({
statusCode: '404', // Access status code
englishPageTitle: '{{translate("pages.pageNotFound.title")}}',
taxonomy_level1: 'CRI', // Access taxonomy level 1
taxonomy_level1: 'web cri', // Access taxonomy level 1
taxonomy_level2: 'page-not-found', // Access taxonomy level 2
content_id: '004',
logged_in_status: true,
Expand Down
2 changes: 1 addition & 1 deletion src/views/errors/session-ended.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1 id="header" data-page="{{hmpoPageKey}}" class="govuk-heading-l">
.trackOnPageLoad({
statusCode: '200', // Access status code
englishPageTitle: '{{translate("pages.sessionEnded.title")}}',
taxonomy_level1: 'CRI', // Access taxonomy level 1
taxonomy_level1: 'web cri', // Access taxonomy level 1
taxonomy_level2: 'session-ended', // Access taxonomy level 2
content_id: '005',
logged_in_status: true,
Expand Down
2 changes: 1 addition & 1 deletion src/views/passport/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ <h2>{{ translate("passport.retryMessageHeading") }}</h2>
.trackOnPageLoad({
statusCode: '200', // Access status code
englishPageTitle: '{{translate("pages.passport.title")}}',
taxonomy_level1: 'CRI', // Access taxonomy level 1
taxonomy_level1: 'web cri', // Access taxonomy level 1
taxonomy_level2: 'Passport', // Access taxonomy level 2
content_id: '001',
logged_in_status: true,
Expand Down

0 comments on commit 8cff7d7

Please sign in to comment.