Klaritics, and the same initialization pattern: provide your app_id and server_host, then start logging events. This page covers the concepts shared across all platforms and links to platform-specific setup guides.
Supported platforms
Web
Browser and SPA integration via npm or script tag.
Android
Gradle-based Android apps using Maven coordinates.
iOS
Swift and Objective-C apps via Swift Package Manager.
React Native
Cross-platform JS apps following RN packaging conventions.
Flutter
Cross-platform Dart apps following Flutter packaging conventions.
Shared initialization
Every SDK requires two values to initialize:app_id: your Klaritics application identifierserver_host: the URL of your self-hosted Klaritics instance (for example,https://analytics.yourcompany.com)
Client-facing class name
The class you call in your application code is alwaysKlaritics. Do not use KlariticsSDK, KlariticsCore, or any other variant.
Event and attribute naming
SDK-generated events use a$ prefix (for example, $app_opened). SDK-sent attributes that are not already part of the chunk model also use a $ prefix (for example, $custom_user_id). Do not add an organization-specific prefix. For full details, see Event naming rules.