-
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.
Search with autocomplete: Add tracking attributes
This adds a set of tracking attributes to the `search_with_autocomplete` component, which will be able to be picked up by the GA4 search tracker to measure user interaction with the autocomplete component. In particular, this adds: - `autocomplete-trigger-input`: the original, possibly partial, input from the user that triggered the offered suggestions - `autocomplete-accepted`: whether the user has accepted a suggestion (as opposed to dismissed the autocomplete with Escape or clicking outside) - `autocomplete-suggestions`: a string containing a pipe-separated list of the (up to) five top suggestions offered - `autocomplete-suggestions-count`: the total number of suggestions offered
- Loading branch information
Showing
3 changed files
with
87 additions
and
1 deletion.
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