Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tracking on accordions #3058

Merged
merged 1 commit into from
Nov 29, 2022
Merged

Update tracking on accordions #3058

merged 1 commit into from
Nov 29, 2022

Conversation

andysellick
Copy link
Contributor

@andysellick andysellick commented Nov 29, 2022

DO NOT MERGE this change unless it also includes a new version of the components gem with the mentioned change below

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

What

  • ahead of a change to how tracking and accordion tracking works, update accordions to have the simpler ga4_tracking:true option instead of passing multiple data attributes

Pages that this occurs on:

Why

We've been changing how tracking works a little, specifically in alphagov/govuk_publishing_components#3082 and this PR updates to take account of that change.

Visual changes

None.

Trello card: https://trello.com/c/LIhvDkyC/279-simplify-adding-ga4-tracking-to-accordions

- ahead of a change to how tracking and accordion tracking works, update accordions to have the simpler `ga4_tracking:true` option instead of passing multiple data attributes
@andysellick andysellick changed the title Update tracking on accordions [DO NOT MERGE] Update tracking on accordions Nov 29, 2022
@govuk-ci govuk-ci temporarily deployed to collections-pr-3058 November 29, 2022 13:23 Inactive
@andysellick andysellick requested a review from AshGDS November 29, 2022 13:23
@andysellick andysellick changed the title [DO NOT MERGE] Update tracking on accordions Update tracking on accordions Nov 29, 2022
@andysellick andysellick merged commit 5dff34e into main Nov 29, 2022
@andysellick andysellick deleted the update-accordions branch November 29, 2022 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants