Skip to content

Commit

Permalink
add internal referers
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-psi committed Jan 22, 2024
1 parent cede666 commit 0f986d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/.vitepress/theme/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
})
</script>

Expand Down

0 comments on commit 0f986d8

Please sign in to comment.