Home / Function/ trackEvent() — ui Function Reference

trackEvent() — ui Function Reference

Architecture documentation for the trackEvent() function in events.ts from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  05ec4a9a_1626_d3a0_7439_3b949fd02f48["trackEvent()"]
  acce3f38_3a9c_c3d9_1ddb_5cc53ac90f9d["events.ts"]
  05ec4a9a_1626_d3a0_7439_3b949fd02f48 -->|defined in| acce3f38_3a9c_c3d9_1ddb_5cc53ac90f9d
  style 05ec4a9a_1626_d3a0_7439_3b949fd02f48 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/lib/events.ts lines 32–37

export function trackEvent(input: Event): void {
  const event = eventSchema.parse(input)
  if (event) {
    va.track(event.name, event.properties)
  }
}

Subdomains

Frequently Asked Questions

What does trackEvent() do?
trackEvent() is a function in the ui codebase, defined in apps/v4/lib/events.ts.
Where is trackEvent() defined?
trackEvent() is defined in apps/v4/lib/events.ts at line 32.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free