chore: analytics tweaks
This commit is contained in:
parent
0fa3fd28ed
commit
e7a1b8b012
2 changed files with 0 additions and 8 deletions
|
@ -57,7 +57,6 @@
|
|||
{% jsonLd meta, type, tags %}
|
||||
</script>
|
||||
<script defer data-domain="coryd.dev" src="/js/script.js"></script>
|
||||
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
|
||||
<noscript>
|
||||
<style>.client-side {display:none}</style>
|
||||
</noscript>
|
||||
|
|
|
@ -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" %}
|
||||
|
|
Reference in a new issue