diff --git a/packages/learn/src/analytics/analytics-epic.js b/packages/learn/src/analytics/analytics-epic.js deleted file mode 100644 index 073b13fa6e..0000000000 --- a/packages/learn/src/analytics/analytics-epic.js +++ /dev/null @@ -1,15 +0,0 @@ -import { tap, ignoreElements } from 'rxjs/operators'; - -import ga from './'; - -export default function analyticsEpic(action$) { - return action$.pipe( - tap(({ type }) => { - ga.event({ - category: 'Redux Action', - action: type - }); - }), - ignoreElements() - ); -} diff --git a/packages/learn/src/redux/store.js b/packages/learn/src/redux/store.js index d22d60b0c6..8d5c8e6ada 100644 --- a/packages/learn/src/redux/store.js +++ b/packages/learn/src/redux/store.js @@ -8,7 +8,6 @@ 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, @@ -32,7 +31,7 @@ const rootReducer = combineReducers({ router }); -const rootEpic = combineEpics(analyticsEpic, ...appEpics, ...challengeEpics); +const rootEpic = combineEpics(...appEpics, ...challengeEpics); const epicMiddleware = createEpicMiddleware(rootEpic, { dependencies: {