Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GoogleAnalyticsTracker

Implements

  • Tracker

Index

Constructors

constructor

Properties

id

id: string

persistentParams

persistentParams: FieldsObject

Protected w

w: Window

Store reference to window rather than window.ga since GA snippet overwrites the window reference.

Static SAMPLE_SIZE

SAMPLE_SIZE: number = 1

Methods

identify

  • identify(identity: Identity): void
  • Parameters

    • identity: Identity

    Returns void

page

  • page(page: Page): Promise<void>
  • Parameters

    • page: Page

    Returns Promise<void>

track

  • track<T>(event: TrackedEvent<T>): Promise<void>
  • Type parameters

    • T

    Parameters

    • event: TrackedEvent<T>

    Returns Promise<void>

Static initialize

  • initialize(window: Window): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc