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:
@@ -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
|
||||
}
|
Reference in New Issue
Block a user