Skip to content

Commit

Permalink
Minor update for the "with-react-ga" example
Browse files Browse the repository at this point in the history
  • Loading branch information
EvHaus authored Jan 18, 2020
1 parent 0444cb9 commit deadb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-react-ga/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit deadb6b

Please sign in to comment.