From 4f0676249a2d3b00a8ffd68b07e19d7baef832df Mon Sep 17 00:00:00 2001 From: Brendan F Date: Sun, 25 Jun 2023 23:06:09 -0700 Subject: Remove unused Google analytics hooks --- src/app.tsx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/app.tsx') diff --git a/src/app.tsx b/src/app.tsx index d7f5917..ac8765f 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -1,5 +1,3 @@ -import { event } from "react-ga"; - import React from "react"; import _ from "lodash"; @@ -100,11 +98,6 @@ function App() { }); setCurrentTry((currentTry) => currentTry + 1); - - event({ - category: "Game", - action: "Skip", - }); }, [currentTry]); const guess = React.useCallback(() => { @@ -132,13 +125,6 @@ function App() { if (isCorrect) { setDidGuess(true); } - - event({ - category: "Game", - action: "Guess", - label: `${selectedSong.artist} - ${selectedSong.name}`, - value: isCorrect ? 1 : 0, - }); }, [guesses, selectedSong]); return ( -- cgit v1.2.3