@chordcommerce/analytics
Version:
Chord Commerce event tracking
10 lines (9 loc) • 374 B
TypeScript
import type { ChordAnalyticsOptions, ConsentConfiguration } from '../../types/index.js';
export declare const addCdpConsent: (options: ChordAnalyticsOptions) => {
init: () => Promise<ConsentConfiguration | null>;
getConsentConfig: () => {
getCategories: () => Record<string, boolean>;
isConsentReady: () => boolean;
debug: boolean;
};
};