ga-4-react
Version:
Simple wrapper of ga4 scripts for React: https://developers.google.com/analytics/devguides/collection/ga4
13 lines (12 loc) • 371 B
TypeScript
import React from 'react';
import { GA4Config, GA4ManagerOptionsInterface } from '../models/gtagModels';
export interface IGA4R {
code: string;
timeout?: number;
config?: GA4Config;
additionalCode?: Array<string>;
children?: any;
options?: GA4ManagerOptionsInterface;
}
export declare const GA4R: React.FC<IGA4R>;
export default GA4R;