Commit bbf19cd9 authored by Ev Haus's avatar Ev Haus Committed by Luis Alvarez D

Minor update for the "with-react-ga" example (#10156)

parent 0444cb97
......@@ -17,7 +17,7 @@ export default class MyApp extends App {
componentDidMount() {
initGA()
logPageView()
Router.router.events.on('routeChangeComplete', logPageView)
Router.events.on('routeChangeComplete', logPageView)
}
render() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment