CiaoSDKAnalytics
CiaoSDKAnalytics provides direct access to the ByteBrew Analytics module for events that should only be reported to ByteBrew, plus ByteBrew-specific features like remote config and push notifications.
Methods
| Method | Description |
|---|---|
SendEvent(string name, Dictionary<string, string> params) | Sends a custom event to ByteBrew only. |
SendAdImpression(AdImpressionArgs args) | Sends an ad impression event to ByteBrew. |
RefreshConfig(Action onComplete = null) | Fetches the latest remote config values. Call before reading with GetConfig. |
IsConfigReady | Returns true when remote config values are fetched and ready to read. |
GetConfig(string key, string defaultValue) | Returns the remote config value for the given key, or defaultValue if not set. |
SetUserAttribute(string key, string/int/double/bool value) | Adds a custom data attribute to the user. |
GetUserId | Returns the ByteBrew user ID. |
StartPushNotifications | Enables push notifications via ByteBrew. Requires additional platform and dashboard setup - see ByteBrew's Push Notifications guide. |
Updated about 7 hours ago
Did this page help you?
