Properties
capture
capture: { <T>(eventName: T,
query: CaptureEventsPayloadMap[T]): Promise<Response> | Promise<void>; <T>(target: T,
query: T extends keyof CaptureEventsPayloadMap ? CaptureEventsPayloadMap[T<T>] : Record<string, any>): Promise<Response> | Promise<void>; } updateState
Type declaration
- (update): void
Returns void
Captures an analytic event with a custom target and query payload.