/// import { Identity, Page, TrackedEvent, Tracker } from 'crosslytics'; export declare class GoogleAnalyticsTracker implements Tracker { id: string; static SAMPLE_SIZE: number; /** * Initialize the overall ga() command queue. Equivalent to pasting * the Google Analytics snippet into your markup. * @param window context * @see {@link https://developers.google.com/analytics/devguides/collection/analyticsjs/} */ static initialize(window: Window): void; persistentParams: UniversalAnalytics.FieldsObject; /** * Store reference to window rather than window.ga since GA snippet * overwrites the window reference. */ protected w: Window; constructor(id: string, w?: Window); identify(identity: Identity): void; track(event: TrackedEvent): Promise; page(page: Page): Promise; }