github.com/deeptaai/klaritics-ios-sdk · Version: 1.0.0
Requirements
You need a Project ID and a Host URL from the Klaritics dashboard. Your project ID is on the Getting Started page.
Add the package
1
Open Add Package Dependencies
In Xcode, choose File → Add Package Dependencies.
2
Add the Klaritics repository
Paste the repository URL:
3
Add the library to your target
In Choose Package Products, select the Klaritics library, choose your app target under Add to Target, and click Add Package.
Initialize the SDK
Import Klaritics and callKlaritics.setup(config) once, in application(_:didFinishLaunchingWithOptions:), before any other Klaritics call.
AppDelegate.swift
KlariticsConfig
API reference
All methods are called onKlaritics. Attributes are [String: Any] dictionaries.
Common recipes
Log an event
Identify a user and set properties
Track a screen
Troubleshooting
Next steps
Verify your integration
Send test events from your app and watch them land on the Getting Started page.
Release notes
What changed in each iOS SDK version.
Package:
github.com/deeptaai/klaritics-ios-sdk · Version: 1.0.0 · Release notes