Turn off GA in dev

This commit is contained in:
Chi Kei Chan 2018-10-28 04:12:59 -07:00
parent 7db118e841
commit d69acdcb93

@ -7,7 +7,11 @@ import store from './store';
import './index.scss';
ReactGA.initialize('UA-128182339-1');
if (process.env.NODE_ENV === 'development') {
// ReactGA.initialize('UA-128182339-02');
} else {
ReactGA.initialize('UA-128182339-1');
}
ReactGA.pageview(window.location.pathname + window.location.search);
window.addEventListener('load', function() {