-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3469 from alphagov/ga4-date-tracking
Update `govuk_publishing_components` to 43.4.1; fix GA4 spec
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ describe('GA4 finder change tracker', function () { | |
|
||
input = document.createElement('input') | ||
input.setAttribute('type', 'search') | ||
input.value = 'Hello world my postcode is SW1A 0AA. My birthday is 1970-01-01. My email is [email protected]' | ||
input.value = 'Hello world my postcode is SW1A 0AA. My email is [email protected]' | ||
|
||
inputParent.appendChild(input) | ||
form.appendChild(inputParent) | ||
|
@@ -67,7 +67,7 @@ describe('GA4 finder change tracker', function () { | |
|
||
expected.event_data.event_name = 'search' | ||
expected.event_data.url = window.location.pathname | ||
expected.event_data.text = 'hello world my postcode is [postcode]. my birthday is [date]. my email is [email]' | ||
expected.event_data.text = 'hello world my postcode is [postcode]. my email is [email]' | ||
expected.event_data.section = 'Search' | ||
expected.event_data.action = 'search' | ||
|
||
|