Skip to content

Instantly share code, notes, and snippets.

@gquemener
Last active November 9, 2016 17:02
Show Gist options
  • 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