Logs an event with Dito SDK, where each parameter of the event is defined as a key-value pair within the data object.
Supported value types for the data object are: string, number, and boolean.
Example:
const modules = await Eitri.modules();
const logEvent = modules?.dito?.logEvent;
if (!logEvent) return;
await logEvent({
eventName: "product_view",
data: {
revenue: 29.99,
currency: "BRL",
productId: "sku-001"
}
})
Object describing the event.
Object describing the event's data. Values must be primitives (string, number, or boolean).
Name of the event.
Collection of functions responsible for tracking user activity in an Eitri-App using Dito SDK.
Dito is a CRM and engagement platform that provides event tracking, push notifications, and user identification capabilities.
Requirements: This feature must be enabled in the Eitri Shopping App native configuration