chore: analytics

This commit is contained in:
Cory Dransfeldt 2024-03-22 12:14:27 -07:00
parent 2ddee18d26
commit ac200ddcfd
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -29,6 +29,7 @@
const query = $input.value
const results = (query.length > 1) ? getSearchResults(query) : []
if (query === '') renderSearchResults([])
if (results && plausible) plausible(`Search query: ${query}`)
renderSearchResults(results)
})