fix(events): suppression de l'event qui track l'input agreement search#7200
Open
fix(events): suppression de l'event qui track l'input agreement search#7200
agreement search#7200Conversation
revu-bot
reviewed
Mar 27, 2026
Collaborator
revu-bot
left a comment
There was a problem hiding this comment.
PR Summary: Remove cc_search Agreement Search Input Tracking Event
This PR removes the analytics event that tracked every keystroke in the agreement search input (cc_search / AGREEMENT_SEARCH), as it was generating excessive data volume (issue #7196). The change is clean and well-scoped.
What was done
- Removed
emitAgreementSearchInputEventfromuseAgreementSearchTracking - Removed
AGREEMENT_SEARCHfromMatomoSearchAgreementCategoryenum andCC_SEARCHfromTrackingAgreementSearchCategory - Removed
trackingActionNameprop fromAgreementSearchInputand related components - Updated all tests to reflect the reduced event count
Issues Found
| File | Lines | Severity | Issue |
|---|---|---|---|
tracking.ts |
22 | IMPORTANT | TrackingAgreementSearchAction.AGREEMENT_SEARCH enum value is now orphaned/misleading |
tracking.ts |
1 | MINOR | Unused uuid import was removed — but v4 mock still present in some test files |
AgreementSearchForm.tsx |
81 | IMPORTANT | trackingActionName prop removed from AgreementSearchInput but still declared in AgreementSearchForm's own Props type |
|
|
🎉 Deployment for commit 2c0ce7f : IngressesDocker images
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



fix #7196