chore: analytics tweaks

This commit is contained in:
Cory Dransfeldt 2023-07-05 15:42:44 -07:00
parent 0fa3fd28ed
commit e7a1b8b012
No known key found for this signature in database
2 changed files with 0 additions and 8 deletions

View file

@ -36,11 +36,4 @@ meta:
</style>
<div id="search" class="search"></div>
<script src="/_pagefind/pagefind-ui.js" onload="new PagefindUI({ element: '#search', showImages: false });"></script>
<script>
if (plausible) {
document.querySelector('#search').addEventListener('focusout', (e) => {
plausible('Search', { props: { query: e.target.value }})
})
}
</script>
{% include "popular-posts.liquid" %}