Class Tracker

Index

Methods

Methods

public _getAccount(): string

Returns

string

public _getName(): string

Returns

string

public _getVersion(): string

Returns

string

public _getVisitorCustomVar(index: number): string

Parameters

  • index: number

Returns

string

public _setAccount(): string

Returns

string

public _setCustomVar(index: number, name: string, value: string, opt_scope?: number): boolean

Parameters

  • index: number
  • name: string
  • value: string
  • opt_scope?: number optional

Returns

boolean

public _setSampleRate(newRate: string)

Parameters

  • newRate: string

public _setSessionCookieTimeout(cookieTimeoutMillis: number)

Parameters

  • cookieTimeoutMillis: number

public _setSiteSpeedSampleRate(sampleRate: number)

Parameters

  • sampleRate: number

public _setVisitorCookieTimeout(milliseconds: number)

Parameters

  • milliseconds: number

public _trackPageLoadTime()

public _trackPageview()