diff --git a/index.html b/index.html index cb8d094..c756388 100644 --- a/index.html +++ b/index.html @@ -12,6 +12,7 @@ + diff --git a/src/App.vue b/src/App.vue index d0c09d3..4e2bfaa 100644 --- a/src/App.vue +++ b/src/App.vue @@ -20,14 +20,7 @@ diff --git a/src/analytics.ts b/src/analytics.ts deleted file mode 100644 index 9eb79ac..0000000 --- a/src/analytics.ts +++ /dev/null @@ -1,7 +0,0 @@ -import Plausible from 'plausible-tracker' - -// Setup tracking -export const plausible = Plausible({ - domain: 'n0mbers.scambier.xyz', - apiHost: 'https://stats.scambier.xyz', -}) diff --git a/src/composables/statistics.ts b/src/composables/statistics.ts index e13e5e2..a1d8719 100644 --- a/src/composables/statistics.ts +++ b/src/composables/statistics.ts @@ -1,7 +1,6 @@ import { merge } from 'lodash-es' import { reactive, watch } from 'vue' -// import { plausible } from '@/analytics' import { LSK_STATS } from '@/globals' import * as storage from '@/storage' import { GameStats } from '@/types' @@ -62,8 +61,7 @@ function setScore(seed: string, won: boolean, score: number): void { // Don't overwrite an existing score if (!gameStats.games[seed]) { gameStats.games[seed] = { score, won } - // plausible.trackEvent(won ? 'win_game' : 'lose_game') - // plausible.trackEvent('end_game') + } }