chore: analytics
This commit is contained in:
parent
6e5c5c5725
commit
7e0259aafd
14 changed files with 40 additions and 34 deletions
|
@ -29,6 +29,7 @@
|
|||
const query = $input.value
|
||||
const results = (query.length > 1) ? getSearchResults(query) : []
|
||||
if (query === '') renderSearchResults([])
|
||||
if (results && fathom) fathom?.trackEvent(`Search query: ${query}`)
|
||||
renderSearchResults(results)
|
||||
})
|
||||
|
||||
|
|
Reference in a new issue