Minor update for the "with-react-ga" example (#10156)
This commit is contained in:
parent
0444cb97ba
commit
bbf19cd99e
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export default class MyApp extends App {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
initGA()
|
initGA()
|
||||||
logPageView()
|
logPageView()
|
||||||
Router.router.events.on('routeChangeComplete', logPageView)
|
Router.events.on('routeChangeComplete', logPageView)
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|
Loading…
Reference in a new issue