Skip to content

Instantly share code, notes, and snippets.

@gquemener
Last active November 9, 2016 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gquemener/ecdbb277db014fdb3ae991656673b4ce to your computer and use it in GitHub Desktop.
Save gquemener/ecdbb277db014fdb3ae991656673b4ce to your computer and use it in GitHub Desktop.
export default function(eventTracker) {
return store => next => action => {
eventTracker.trackEvent(action.type);
return next(action);
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment