MCPcopy
hub / github.com/Peppermint-Lab/peppermint / tracking

Function tracking

apps/api/src/controllers/auth.ts:50–58  ·  view source on GitHub ↗
(event: string, properties: any)

Source from the content-addressed store, hash-verified

48}
49
50async function tracking(event: string, properties: any) {
51 const client = track();
52
53 client.capture({
54 event: event,
55 properties: properties,
56 distinctId: "uuid",
57 });
58}
59
60export function authRoutes(fastify: FastifyInstance) {
61 // Register a new user

Callers 1

authRoutesFunction · 0.70

Calls 1

trackFunction · 0.90

Tested by

no test coverage detected