feat(onboarding): add tracking calls to event, ecology, and wiki pages

This commit is contained in:
Jennie Robinson Faber 2026-04-09 22:46:41 +01:00
parent 3797ff7925
commit 7c3a10232d
3 changed files with 16 additions and 0 deletions

View file

@ -171,6 +171,7 @@ const loadSuggestions = async () => {
}
const { memberData } = useAuth()
const { trackGoal, isComplete } = useOnboarding()
const loadTags = async () => {
try {
@ -220,6 +221,9 @@ onMounted(async () => {
} finally {
loading.value = false
}
if (!isComplete.value) {
trackGoal('ecologyPageVisited')
}
})
useHead({