From 81671bf6445de12a17747f90546245f7d593badb Mon Sep 17 00:00:00 2001 From: michael litschauer Date: Fri, 25 Apr 2025 14:20:08 +0200 Subject: [PATCH] always track --- layouts/default.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/layouts/default.vue b/layouts/default.vue index 8b43962..7825ad2 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -3,15 +3,7 @@ import { useFeatureStore } from '~/stores/features.ts' import { init, trackPages } from 'insights-js' const featureStore = useFeatureStore() -const trackingDisabled = computed(() => { - const hostname = window.location.hostname - const isProductionDomain = hostname === 'gendercomics.net' - const isStaging = - hostname === 'stage.gendercomics.net' || hostname.includes('stage') - return !isProductionDomain || isStaging -}) - -init('TrYgnSHvKAIkGdBl', { disabled: trackingDisabled }) +init('TrYgnSHvKAIkGdBl') trackPages()