I put in the initialization code, but it only runs once for one page. How do I get the google tracker to fire for multiple pages in the app?
In App.js
ReactGA.initialize("UA-XXXXXXXXX-1");
let baseUrl = window.location.pathname;
ReactGA.pageview(baseUrl);