@dotcms/analytics
Version:
Official JavaScript library for Content Analytics with DotCMS.
10 lines (8 loc) • 406 B
TypeScript
import { DotContentAnalyticsConfig } from './dot-content-analytics.model';
/**
* Send an analytics event to the server
* @param data - The event data
* @param options - The options for the event
* @returns A promise that resolves to the response from the server
*/
export declare const sendAnalyticsEventToServer: (data: Record<string, unknown>, options: DotContentAnalyticsConfig) => Promise<void>;