Skip to content

Remove google optimize legacy code cruft and AB_TESTING flag - #8862

Merged
anselmbradford merged 1 commit into
mainfrom
ans_remove_optimizely
Jul 9, 2025
Merged

Remove google optimize legacy code cruft and AB_TESTING flag#8862
anselmbradford merged 1 commit into
mainfrom
ans_remove_optimizely

Conversation

@anselmbradford

Copy link
Copy Markdown
Member

Google Optimize settings were added in #7444, however, since that time Google Optimize has been sunset https://support.google.com/analytics/answer/12979939?hl=en

This PR removes the references to optimize.google.com and googleoptimize.com. Additionally, it removes the AB_TESTING flag.

Removals

  • Remove google optimize legacy code cruft.
  • Remove AB_TESTING optimize flag.

How to test this PR

  1. PR checks should pass.

Notes

I left the fonts.gstatic.com settings, since they may be used by google analytics too (not sure if they actually are).

Todo

Follow the Feature Flag hygiene instructions after this is merged https://cfpb.github.io/consumerfinance.gov/feature-flags/#hygiene

@niqjohnson niqjohnson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Farewell, Optimize

@anselmbradford
anselmbradford added this pull request to the merge queue Jul 9, 2025
Merged via the queue into main with commit 076c2e2 Jul 9, 2025
31 of 37 checks passed
@anselmbradford
anselmbradford deleted the ans_remove_optimizely branch July 9, 2025 15:59
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.

2 participants