MCPcopy Index your code
hub / github.com/21st-dev/1code / trackAuthCompleted

Function trackAuthCompleted

src/main/lib/analytics.ts:243–248  ·  view source on GitHub ↗
(userId: string, email?: string)

Source from the content-addressed store, hash-verified

241 * Track successful authentication
242 */
243export function trackAuthCompleted(userId: string, email?: string) {
244 identify(userId, email ? { email } : undefined)
245 capture("auth_completed", {
246 user_id: userId,
247 })
248}
249
250/**
251 * Track project opened

Callers 1

handleAuthCodeFunction · 0.90

Calls 2

identifyFunction · 0.70
captureFunction · 0.70

Tested by

no test coverage detected