Commit d69acdcb authored by Chi Kei Chan's avatar Chi Kei Chan

Turn off GA in dev

parent 7db118e8
......@@ -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() {
......
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