feat: add more plausible events
This commit is contained in:
parent
a73aca8ed9
commit
11959de11c
5 changed files with 63 additions and 22 deletions
|
@ -64,6 +64,11 @@ function initPopover(baseURL, useContextualBacklinks) {
|
|||
})
|
||||
|
||||
el.classList.add("visible")
|
||||
plausible("Popover Hover", {
|
||||
props: {
|
||||
href: li.dataset.src
|
||||
}
|
||||
})
|
||||
})
|
||||
li.addEventListener("mouseout", () => {
|
||||
el.classList.remove("visible")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue