chore: analytics + deps
This commit is contained in:
parent
4ae4a7416e
commit
bf6d4f446b
14 changed files with 55 additions and 54 deletions
|
@ -32,7 +32,7 @@ permalink: /search.html
|
|||
const query = $input.value
|
||||
const results = (query.length > 1) ? getSearchResults(query) : []
|
||||
if (query === '') renderSearchResults([])
|
||||
if (results && window.clicky) clicky.log('/search', query, 'click')
|
||||
if (results && typeof plausible === 'function') plausible('Search', { props: { query: query } });
|
||||
renderSearchResults(results)
|
||||
})
|
||||
|
||||
|
|
Reference in a new issue