AnalyticsReporting

public class AnalyticsReporting : ActionDispatchObserver

This class observes action execution and passes the analytics data to your analytics subsystem for any Actions that support analytics.

This allows internal or third party frameworks that use Flint to expose functionality that you also track with analytics, without them directly linking to the analytics package.

To use Analytics reporting, create an instance of this at runtime and add it to the ActionDispatcher observers:

let myAnalyticsProvider = ConsoleAnalyticsProvider()
Flint.dispatcher.add(observer: AnalyticsReporting(provider: myAnalyticsProvider))

See

AnalyticsProvider for the protocol to conform to, to wire up your actual analytics service such as Mixpanel, Google Analytics or preferably, your own back end.