Analytics

  • A concrete implementation of AnalyticsClient that dispatches events to all registered clients on a background queue.

    See more

    Declaration

    Swift

    @objcMembers
    @objc(PESDKAnalytics)
    open class Analytics : NSObject, AnalyticsClient
  • Consumers of analytics screen views and events must implement this protocol. You can then forward all screen views and events to an analytics service of your choice. To receive events you must register your AnalyticsClient instance with Analytics.addAnalyticsClient(_:).

    See more

    Declaration

    Swift

    @objc(PESDKAnalyticsClient)
    public protocol AnalyticsClient : AnyObject