Merge pull request #48 from Bouncey/feat/GA

Add google analytics
This commit is contained in:
Stuart Taylor
2018-05-18 19:07:32 +01:00
committed by Mrugesh Mohapatra
parent 54a9f70574
commit f90bb69cde
13 changed files with 155 additions and 27 deletions

View File

@@ -8,6 +8,7 @@ import { routerReducer as router, routerMiddleware } from 'react-router-redux';
import { reducer as formReducer } from 'redux-form';
import analyticsEpic from '../analytics/analytics-epic';
import { reducer as app, epics as appEpics } from './app';
import {
reducer as challenge,
@@ -23,7 +24,7 @@ const rootReducer = combineReducers({
router
});
const rootEpic = combineEpics(...appEpics, ...challengeEpics);
const rootEpic = combineEpics(analyticsEpic, ...appEpics, ...challengeEpics);
const epicMiddleware = createEpicMiddleware(rootEpic, {
dependencies: {