352 react ga pageviews #353
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
import React from 'react';
|
||||
import GoogleAnalytics from 'react-ga';
|
||||
import { withRouter } from 'react-router-dom';
|
||||
// const config = require('../../../../config/speechConfig.js');
|
||||
const googleApiKey = 'UA-60403362-3'; // config.analytics.googleId;
|
||||
const config = require('../../../config/speechConfig.js');
|
||||
const googleApiKey = config.analytics.googleId;
|
||||
|
||||
GoogleAnalytics.initialize(googleApiKey);
|
||||
|
||||
|
|
Loading…
Reference in a new issue