-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "sticky" GA4 search tracker
tool_name
The GA4 search tracker was only setting the `tool_name` on its `search` event in case the user had accepted an autocomplete suggestion. Now that we persist the `tool_name` in the page's analytics state, this meant that if the user had accepted a suggestion on a previous search, the `tool_name` would continue to be set for subsequent searches regardless of whether they've actually _used_ autocomplete.
- Loading branch information
Showing
3 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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