AnalyticsProvider

public protocol AnalyticsProvider

Conform to this protocol to wire up your chosen Analytics service to receive events when Action(s) that have an analyticsID set are performed.

Your implementation will receive the feature and action information, and the analytics properties returned by your Action implementations’ analyticsAttributes(for:) function.

Read the analyticsID for the event from the action passeds to the functions.

See

ConsoleAnalyticsProvider for a trivial example implementation.