diff --git a/website/.vitepress/theme/Layout.vue b/website/.vitepress/theme/Layout.vue index 5effbda..15b40c6 100644 --- a/website/.vitepress/theme/Layout.vue +++ b/website/.vitepress/theme/Layout.vue @@ -5,8 +5,8 @@ import { watch } from 'vue'; const route = useRoute(); -watch(() => route.path, (path, _) => { - window.goatcounter?.count?.({ path }); +watch(() => route.path, (path, referrer) => { + window.goatcounter?.count?.({ path, referrer }); })