Skip to content

Commit ab9550d

Browse files
committed
always track
1 parent 262d67f commit ab9550d

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

layouts/default.vue

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@ import { useFeatureStore } from '~/stores/features.ts'
33
import { init, trackPages } from 'insights-js'
44
55
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 })
6+
init('TrYgnSHvKAIkGdBl')
157
trackPages()
168
</script>
179

0 commit comments

Comments
 (0)