@chordcommerce/analytics
Version:
Chord Commerce event tracking
7 lines (6 loc) • 368 B
TypeScript
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;