createMiddleware(eventDefinitionsMap, target, extensions?)
Returns Redux middleware that synchronizes actions to analytics events.
Parameters
object
eventDefinitionsMapfunction
targetobject
(optional) extensions