TrackerFn
TrackerFn = (
name,properties?) =>void
Defined in: chat/src/app/UDIChatConfig.ts:25
Signature for the optional analytics callback — deliberately untyped in
the properties bag so consumers can forward directly to GA4, Segment,
Amplitude, PostHog, or any other tool that accepts
(eventName, properties).
Event names are stable, snake_case strings. Properties carry metadata only — never raw message content or API key material.
Parameters
Section titled “Parameters”string
properties?
Section titled “properties?”Record<string, unknown>
Returns
Section titled “Returns”void