docs: improve plausible track event

This commit is contained in:
Benjamin Canac
2023-09-15 17:50:54 +02:00
parent 3ba95d3c4d
commit 00594ea59b

View File

@@ -65,7 +65,7 @@ watch(() => searchRef.value?.commandPaletteRef?.query, debounce((query: string)
return
}
useTrackEvent('Search', { props: { query, results: `${searchRef.value?.commandPaletteRef.results.length}` } })
useTrackEvent('Search', { props: { query: `${query} - ${searchRef.value?.commandPaletteRef.results.length} results` } })
}, 500))
// Head