govuk-design-system
govuk-design-system copied to clipboard
Update the site-search event structure
What
Remove ecommerce field from site-search GA4 events. Add new ecommerce events that are fired upon site-search events also firing.
Why
In light of changes made in GA4, the site-search event structure has to be updated. Attributes have been renamed to be more in-line with events across GOV.UK. Ecommerce events have also been reworked to be compatible with GA4 ecommerce events.
Addresses https://github.com/alphagov/govuk-design-system/issues/3878
You can preview this change here:
| Name | Link |
|---|---|
| Latest commit | 85da49007bab5a2f37e1ef220f6872b53d56d6d1 |
| Latest deploy log | https://app.netlify.com/sites/govuk-design-system-preview/deploys/6687ffe182deb6000853345a |
| Deploy Preview | https://deploy-preview-3882--govuk-design-system-preview.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.