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

MethodDescription
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.
IsConfigReadyReturns 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.
GetUserIdReturns the ByteBrew user ID.
StartPushNotificationsEnables push notifications via ByteBrew. Requires additional platform and dashboard setup - see ByteBrew's Push Notifications guide.


Did this page help you?