BaseEventSchema

interface BaseEventSchema { event: string; event_id?: string; timestamp?: number; user_properties?: UserPropertiesSchema; ecommerce?: { currency?: string; value?: number; coupon?: string; items?: ProductSchema[]; impressions?: ProductSchema[]; [key: string]: any }; }

Source: index.ts:70

Fields shared by every analytics event: the dl_* event name plus optional session and customer context.


Properties

event: string

event_id: string

timestamp: number

user_properties: UserPropertiesSchema

ecommerce: { currency?: string; value?: number; coupon?: string; items?: ProductSchema[]; impressions?: ProductSchema[]; [key: string]: any }

Properties

  • currency (string, optional)
  • value (number, optional)
  • coupon (string, optional)
  • items (ProductSchema[], optional)
  • impressions (ProductSchema[], optional)