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
  db6c0a48_132e_1315_8dd9_8d401243ba3d["trackEvent()"]
  61b36e58_e757_00ca_49aa_66eb9023ffc8["events.ts"]
  db6c0a48_132e_1315_8dd9_8d401243ba3d -->|defined in| 61b36e58_e757_00ca_49aa_66eb9023ffc8
  style db6c0a48_132e_1315_8dd9_8d401243ba3d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/lib/events.ts lines 27–32

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 deprecated/www/lib/events.ts.
Where is trackEvent() defined?
trackEvent() is defined in deprecated/www/lib/events.ts at line 27.

Analyze Your Own Codebase

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

Try Supermodel Free