feat: add more plausible events

This commit is contained in:
Jacky Zhao 2023-02-05 11:34:39 -08:00
parent a73aca8ed9
commit 11959de11c
5 changed files with 63 additions and 22 deletions
assets/js

View file

@ -123,6 +123,11 @@ const redir = (id, term) => {
".singlePage",
)
closeSearch()
plausible("Search", {
props: {
term
}
})
}
function openSearch() {