Interface Mixpanel

Index

Interfaces

Properties

Methods

Interfaces

People: People

public append(keys: { [index: string]: any; })

Parameters

  • keys: { [index: string]: any; }

public append(key: string, value: any)

Parameters

  • key: string
  • value: any

public clear_charges()

public delete_user()

public increment(key: string)

Parameters

  • key: string

public increment(keys: { [index: string]: number; })

Parameters

  • keys: { [index: string]: number; }

public increment(key: string, value: number)

Parameters

  • key: string
  • value: number

public set(keys: { [index: string]: any; }, callback?: () => void)

Parameters

  • keys: { [index: string]: any; }
  • callback?: () => void optional

public set(key: string, value: any, callback?: () => void)

Parameters

  • key: string
  • value: any
  • callback?: () => void optional

public set_once(keys: { [index: string]: any; }, callback?: () => void)

Parameters

  • keys: { [index: string]: any; }
  • callback?: () => void optional

public set_once(key: string, value: any, callback?: () => void)

Parameters

  • key: string
  • value: any
  • callback?: () => void optional

public track_charge(amount: number, params?: { [index: string]: any; }, callback?: () => void)

Parameters

  • amount: number
  • params?: { [index: string]: any; } optional
  • callback?: () => void optional

Properties

public people: People

Methods

public alias(alias: string, currentId?: string)

Parameters

  • alias: string
  • currentId?: string optional

public disable(events?: Array<string>)

Parameters

  • events?: Array<string> optional

public get_config(): { [index: string]: any; }

Returns

{ [index: string]: any; }

public get_distinct_id(): string

Returns

string

public get_property(propertyName: string): any

Parameters

  • propertyName: string

Returns

any

public identify(id: string)

Parameters

  • id: string

public init(token: string, config: { [index: string]: any; }, libraryName: string): Mixpanel

Parameters

  • token: string
  • config: { [index: string]: any; }
  • libraryName: string

Returns

Mixpanel

public push(item: Array<any>)

Parameters

  • item: Array<any>

public register(params: { [index: string]: any; }, days?: number)

Parameters

  • params: { [index: string]: any; }
  • days?: number optional

public register_once(params: { [index: string]: any; }, defaultValue?: string, days?: number)

Parameters

  • params: { [index: string]: any; }
  • defaultValue?: string optional
  • days?: number optional

public set_config(config: { [index: string]: any; })

Parameters

  • config: { [index: string]: any; }

public track(eventName: string, params?: { [index: string]: any; }, callback?: () => void)

Parameters

  • eventName: string
  • params?: { [index: string]: any; } optional
  • callback?: () => void optional

public track_forms(querySelector: string, eventName: string, params?: { [index: string]: any; })

Parameters

  • querySelector: string
  • eventName: string
  • params?: { [index: string]: any; } optional

public track_links(querySelector: string, eventName: string, params?: { [index: string]: any; })

Parameters

  • querySelector: string
  • eventName: string
  • params?: { [index: string]: any; } optional

public unregister(propertyName: string)

Parameters

  • propertyName: string