MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / trackAppEvent

Function trackAppEvent

apps/desktop/main/analytics.ts:41–45  ·  view source on GitHub ↗
(eventName: string, properties?: Record<string, string | number>)

Source from the content-addressed store, hash-verified

39}
40
41export function trackAppEvent(eventName: string, properties?: Record<string, string | number>): void {
42 getService()
43 ?.track(eventName, properties)
44 .catch((e) => console.error(`[Analytics] Failed to report event ${eventName}:`, e))
45}

Callers

nothing calls this directly

Calls 3

getServiceFunction · 0.85
trackMethod · 0.80
errorMethod · 0.65

Tested by

no test coverage detected