import { PuiClickstreamCategories } from './'; export interface PuiClickstreamEvent { /** * The event action taken */ action: string; /** * The category of event */ category: PuiClickstreamCategories | string; /** * Where the event occured. If tracking page views, leave empty to reuse current page view location. */ url?: string; /** * Additional data used to filter events */ properties?: { [propname: string]: string; }; /** * Additional data used to filter pages in the portal */ measurements?: { [propname: string]: number; }; } export interface PuiClickstreamPageView { /** * The name used to identify the page in the portal. Defaults to the document title. */ name?: string; /** * A relative or absolute URL that identifies the page or similar item. Defaults to the window location. */ url?: string; /** * Additional data used to filter pages in the portal */ properties?: { [propname: string]: string; }; /** * Additional data used to filter pages in the portal */ measurements?: { [propname: string]: number; }; /** * The number of milliseconds it took to load this page. * If empty, end of page view duration is recorded when browser page load event is called. */ duration?: number; } export declare class ClickstreamEvent implements PuiClickstreamEvent { action: string; category: PuiClickstreamCategories | string; url: string; properties: { [propname: string]: string; }; measurements: { [propname: string]: number; }; /** * */ constructor(ev: any); }