NeoDay iOS SDK - Analytics
The SDK provides a delegate to track events you want to log to an Analytics platform.
import NeoDay
class ExampleViewController: UIViewController {
func analyticsExample() {
...
// Assuming the sdk is already created.
sdk.analyticsTrackingDelegate= self
...
}
}
extension ExampleViewController: NeoDayAnalyticsTrackingDelegate {
func log(event: NeoDayAnalyticsEvent) {
// Log the event to your Analytics platform of choice
}
}