CastledConfigs.enableTracking
to true
to enable tracking.CastledNotifications.logCustomEvent
method provided by the Castled SDK.
Each event can be accompanied by relevant parameters. For instance, the added_to_cart
event can include parameters
like number_of_items
and value_of_items
, allowing you to capture more detailed information about the user’s interaction.
CastledNotifications.logCustomEvent
can be used to log user events. Any params associated with the events is passed to the method as a flatmap.