You can send custom events using the SDK. The event name is a required parameter, while the label and parameters are optional. Avoid using overly long event names, labels, or attribute keys and values (maximum of 100 characters). Additionally, do not use more than 50 attributes as parameters.
CuxAnalytics.trackEvent(eventName = "application_started")
CuxAnalytics.trackEvent(eventName = "open_bag", label = "navigation")
CuxAnalytics.trackEvent( eventName = "open_product", label = "advertisement_click", params = mapOf( "productId" to productId, "productName" to productName, ) )
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article