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

Make deploying meta tags changes easier #4236

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Make deploying meta tags changes easier #4236

merged 1 commit into from
Sep 18, 2024

Conversation

andysellick
Copy link
Contributor

What / why

  • recently updated the names of some of the metatags that GA4 reads for page views
  • but it's possible that the changes to those metatags won't be appearing for a while on a lot of pages, as they probably need republishing first
  • so for now let's read either the new or the old metatag (which will contain the same information) and avoid breaking a part of the GA4 tracking
  • haven't done the same for the strip dates/postcodes/etc. metatags as I think they're all handled internal to the gem
  • follow up to changes made in Update metatags for GA4 #4222

Visual Changes

None.

Copy link
Contributor

@AshGDS AshGDS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, needs a small fix

- recently updated the names of some of the metatags that GA4 reads for page views
- but it's possible that the changes to those metatags won't be appearing for a while on a lot of pages, as they probably need republishing first
- so for now let's read either the new or the old metatag (which will contain the same information) and avoid breaking a part of the GA4 tracking
- haven't done the same for the strip dates/postcodes/etc. metatags as I think they're all handled internal to the gem
- follow up to changes made in #4222
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4236 September 18, 2024 14:09 Inactive
@andysellick andysellick merged commit 5bed534 into main Sep 18, 2024
12 checks passed
@andysellick andysellick deleted the just-in-case branch September 18, 2024 14:12
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