We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 262d67f commit ab9550dCopy full SHA for ab9550d
1 file changed
layouts/default.vue
@@ -3,15 +3,7 @@ import { useFeatureStore } from '~/stores/features.ts'
3
import { init, trackPages } from 'insights-js'
4
5
const featureStore = useFeatureStore()
6
-const trackingDisabled = computed(() => {
7
- const hostname = window.location.hostname
8
- const isProductionDomain = hostname === 'gendercomics.net'
9
- const isStaging =
10
- hostname === 'stage.gendercomics.net' || hostname.includes('stage')
11
- return !isProductionDomain || isStaging
12
-})
13
-
14
-init('TrYgnSHvKAIkGdBl', { disabled: trackingDisabled })
+init('TrYgnSHvKAIkGdBl')
15
trackPages()
16
</script>
17
0 commit comments