Skip to content

Remove support for wildcard allowed_extra_analytics#11643

Merged
aduth merged 1 commit intomainfrom
aduth-rm-wildcard-allowed-extra-analytics
Dec 16, 2024
Merged

Remove support for wildcard allowed_extra_analytics#11643
aduth merged 1 commit intomainfrom
aduth-rm-wildcard-allowed-extra-analytics

Conversation

@aduth
Copy link
Copy Markdown
Contributor

@aduth aduth commented Dec 13, 2024

🛠 Summary of changes

Updates the behavior of FakeAnalytics extra analytics checker to only support individually allowlisted properties and not blanket wildcard exceptions.

As of #11634, we have complete documentation coverage for every analytics event, thus removing the need for this override, which was introduced as a temporary solution when introducing the check, due to the level of effort in documenting existing analytics events.

📜 Testing Plan

Verify build passes.

changelog: Internal, Analytics, Remove support for wildcard allowed_extra_analytics
@aduth aduth requested a review from gina-yamada December 13, 2024 20:31
Copy link
Copy Markdown
Contributor

@mitchellhenke mitchellhenke left a comment

Choose a reason for hiding this comment

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

👏🏼 👏🏼 👏🏼

@aduth
Copy link
Copy Markdown
Contributor Author

aduth commented Dec 13, 2024

Arguably we might be able to get rid of allowed_extra_analytics altogether, but the reCAPTCHA form behavior currently has some tests around it that rely on it.

@aduth aduth merged commit ffbf1b0 into main Dec 16, 2024
@aduth aduth deleted the aduth-rm-wildcard-allowed-extra-analytics branch December 16, 2024 12:19
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