1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-20 18:08:11 +09:00

fix: optimize analytics

This commit is contained in:
2019-08-07 17:42:07 +09:00
parent 4cd10945b5
commit 102b98b76a
10 changed files with 1642 additions and 11247 deletions

View File

@@ -1,13 +0,0 @@
import { useEffect } from 'react'
import ReactGA from 'react-ga'
export function EventReporter({ query }) {
useEffect(() => {
ReactGA.event({
category: 'Navigation',
action: 'Send a request',
})
}, [query])
return null
}