UNPKG

@technoapple/ga4

Version:

TypeScript Node.js library to support GA4 analytics.

12 lines (11 loc) 348 B
import { ga4Option } from "./ga4option"; import { KeyValueParams, gtag } from "../types/gtag"; declare class ga4 { private static instance; private constructor(); init(option: ga4Option): void; static getInstance(): ga4; send(eventName: string, eventParameters: KeyValueParams): boolean; get gtag(): gtag; } export { ga4 };