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

feat: add ga

This commit is contained in:
2019-07-31 14:17:32 +09:00
parent 5f4b7df212
commit 2b7d9f6fdf
3 changed files with 10 additions and 0 deletions

View File

@@ -1,9 +1,13 @@
import React from 'react'
import ReactDOM from 'react-dom'
import ReactGA from 'react-ga'
import './index.css'
import App from './App'
import * as serviceWorker from './serviceWorker'
ReactGA.initialize('UA-28919359-15')
ReactGA.pageview(window.location.pathname + window.location.search)
ReactDOM.render(<App />, document.getElementById('root'))
serviceWorker.unregister()