JournifySDK is a Swift library for integrating event tracking and analytics into your iOS application. It provides an easy-to-use interface for developers to add similar functionality to their projects.
JournifySDK is available through SPM
To add JournifySDK via Swift Package Mangaer:
Note: Journify recommends that you use Xcode to add your package.
let configuration = Configuration(writeKey: "Your Key")
.trackApplicationLifecycleEvents(true)
.flushInterval(10)
Journify.debugLogsEnabled = true //show debug logs
Journify.setup(with: configuration)
Journify.shared().track(name: "New Event", properties: ["Name": "Custom"], externalId: ["testKey": "test"])
Journify.shared().screen(title: "New Screen", properties: ["title": "Growth as a service", "url": "https://journify.io", "path": "/"])This SDK was based of Segment Swift SDK https://github.com/segmentio/analytics-swift (Thanks to the Segment team)


