govuk-design-system icon indicating copy to clipboard operation
govuk-design-system copied to clipboard

Update the site-search event structure

Open patrickpatrickpatrick opened this issue 1 year ago • 1 comments

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

patrickpatrickpatrick avatar Jul 03 '24 09:07 patrickpatrickpatrick

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jul 03 '24 09:07 netlify[bot]