update google analytics id
This commit is contained in:
parent
19906171c8
commit
6dff40ac5e
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue