Turn off GA in dev
This commit is contained in:
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user