Skip to content

Commit

Permalink
Merge pull request #2052 from govuk-one-login/dfc-653_add-missing-opl…
Browse files Browse the repository at this point in the history
…-events

[DFC-653] - Add missing OPL script to required pages
  • Loading branch information
di-aholme committed Sep 18, 2024
2 parents 2a08920 + 2ab2eb8 commit 4d3e381
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@

</form>

{{ga4OnPageLoad({ nonce: scriptNonce, statusCode: "200", englishPageTitle: pageTitleName, taxonomyLevel1: "authentication", taxonomyLevel2: "", contentId: "", loggedInStatus: false, dynamic: false })}}
{{ga4OnPageLoad({ nonce: scriptNonce, statusCode: "200", englishPageTitle: pageTitleName, taxonomyLevel1: "accounts", taxonomyLevel2: "account intervention", contentId: "", loggedInStatus: false, dynamic: false })}}

{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@

<p class="govuk-body">{{'pages.permanentlyLockedScreen.section2.paragraph2' | translate }}</p>

{{ga4OnPageLoad({ nonce: scriptNonce, statusCode: "200", englishPageTitle: pageTitleName, taxonomyLevel1: "authentication", taxonomyLevel2: "", contentId: "", loggedInStatus: false, dynamic: false })}}
{{ga4OnPageLoad({ nonce: scriptNonce, statusCode: "200", englishPageTitle: pageTitleName, taxonomyLevel1: "accounts", taxonomyLevel2: "account intervention", contentId: "", loggedInStatus: false, dynamic: false })}}

{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@

<p class="govuk-body">{{'pages.suspendedPageScreen.section2.paragraph2' | translate }}</p>

{{ga4OnPageLoad({ nonce: scriptNonce, statusCode: "200", englishPageTitle: pageTitleName, taxonomyLevel1: "accounts", taxonomyLevel2: "account intervention", contentId: "895deac9-e21d-4991-b1f7-9509c2d8c10e", loggedInStatus: false, dynamic: false })}}

{% endblock %}
2 changes: 2 additions & 0 deletions src/components/common/cookies/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -505,4 +505,6 @@

</form>

{{ga4OnPageLoad({ nonce: scriptNonce, statusCode: "200", englishPageTitle: pageTitleName, taxonomyLevel1: "authentication", taxonomyLevel2: "", contentId: "", loggedInStatus: false, dynamic: false })}}

{% endblock %}
2 changes: 2 additions & 0 deletions src/components/contact-us/questions/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,6 @@
{% include 'contact-us/questions/_proving-identity-problem-with-national-insurance-number.njk' %}
{% endif %}

{{ga4OnPageLoad({ nonce: scriptNonce, statusCode: "200", englishPageTitle: pageTitleName, taxonomyLevel1: "authentication", taxonomyLevel2: "", contentId: "", loggedInStatus: false, dynamic: false })}}

{% endblock %}

0 comments on commit 4d3e381

Please sign in to comment.