Interface BaseEnhancedEcomEvent

Base schema for enhanced ecommerce events sent to Google Analytics dataLayer

interface BaseEnhancedEcomEvent {
    ecommerce: { currencyCode: string };
    event: string;
    [key: string]: any;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: any

    Index signature for compatibility with DataLayerItem

Properties

Properties

ecommerce: { currencyCode: string }

Ecommerce object with shared structure

Type declaration

  • currencyCode: string

    Currency code for the transaction

event: string

Event identifier - standard GA ecommerce events