CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.

JournifySDK 0.1.7

JournifySDK 0.1.7

Maintained by benMed.



  • By
  • Journify

Journify

SwiftPM Compatible

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.

Installation

JournifySDK is available through SPM

Swift Package Manager (SPM)

To add JournifySDK via Swift Package Mangaer:

Xcode

Xcode Add SPM Package

Screenshot 2023-02-09 at 5 14 10 PM

Screenshot 2023-02-09 at 5 14 37 PM

Note: Journify recommends that you use Xcode to add your package.

Usage/Examples

 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": "/"])

License

MIT

Credits

This SDK was based of Segment Swift SDK https://github.com/segmentio/analytics-swift (Thanks to the Segment team)