@objc(PESDKAnalyticsClient) public protocol AnalyticsClient : AnyObject
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
AnalyticsClient instance with
This method is called when an analytics screen view occurs.
func logScreenView(_ screenView: PESDKAnalyticsScreenViewName) -> <<error type>>
The name of the screen view.
This method is called when an analytics event occurs.
func logEvent(_ event: PESDKAnalyticsEventName, attributes: [PESDKAnalyticsEventAttributeName : Any]?) -> <<error type>>
The name of the event.
The attributes associated with the event, if any.