UNPKG

@chordcommerce/analytics

Version:

Chord Commerce event tracking

7 lines (6 loc) 368 B
import type { ChordAnalyticsOptions, ChordAnalyticsQueue, ConsentConfiguration } from '../types/index.js'; export interface CdpSnippetResult { initialConsent: ConsentConfiguration | null; } export declare const addCdpSnippet: (options: ChordAnalyticsOptions) => Promise<CdpSnippetResult>; export declare const cdpQueue: (namespace: string) => ChordAnalyticsQueue;