vitessio/website

Track Lunr search via Google Analytics 4

Closed this issue · 0 comments

chalin commented

Originally in the following issue, there was a request to track searched terms on the website:

The website uses Lunr to search. Search is incremental, and debounced by 500 ms. While we can sent search terms to GA4 at no more than the debounce rate, this will still result in event tracking for intermediate search terms.