UNPKG

@comparaonline/event-tracker

Version:

This library it's an interface between any frontend application and some event tracking platforms, currently Snowplow and Tag Manager.

12 lines (11 loc) 291 B
import type { MandatoryProps } from './utils'; export type TransactionData = MandatoryProps & { currency: string; itemCount: number; orderId: string; paymentMethod: string; price: number; type: 'enrollment' | 'purchase'; couponCode?: string; tax?: number; };