update google analytics id

This commit is contained in:
Sean Yesmunt 2019-04-11 14:22:47 -04:00
parent 19906171c8
commit 6dff40ac5e

View file

@ -72,11 +72,12 @@ const analytics: Analytics = {
// Initialize google analytics
// Set `debug: true` for debug info
// Currently doesn't actually differentiate between web/desktop
ReactGA.initialize('UA-60403362-12', {
// Will change once we have separate ids for desktop/web
const UA_ID = IS_WEB ? 'UA-60403362-12' : 'UA-60403362-12';
ReactGA.initialize(UA_ID, {
gaOptions: { name: IS_WEB ? 'web' : 'desktop' },
testMode: process.env.NODE_ENV !== 'production',
// debug: true,
});
// Manually call the first page view