1 | import * as React from 'react';
|
2 | import { GaJSAnalytics } from './types';
|
3 | export interface Props {
|
4 | account: string;
|
5 | domain: string;
|
6 | devId?: string;
|
7 | allowLinker?: boolean;
|
8 | allowHash?: boolean;
|
9 | set?: any[][];
|
10 | onLoad?(analytics: GaJSAnalytics): void;
|
11 | debug?: boolean;
|
12 | }
|
13 | export declare const SETUP_SCRIPT = "\n window['_gaq'] = window['_gaq'] || [];\n";
|
14 | export declare function setupWithDebugScript(account: String): string;
|
15 | export declare const GA_JS_SCRIPT = "https://stats.g.doubleclick.net/dc.js";
|
16 | export default class GaJSGoogleAnalytics extends React.PureComponent<Props, never> {
|
17 | render(): JSX.Element;
|
18 | private setAnalytics;
|
19 | }
|