MCPcopy Create free account
hub / github.com/OpenPipe/OpenPipe / capturePath

Function capturePath

app/src/utils/analytics/serverAnalytics.ts:12–15  ·  view source on GitHub ↗
(session: Session, path: string)

Source from the content-addressed store, hash-verified

10 : null;
11
12export const capturePath = (session: Session, path: string) => {
13 if (!session.user || !posthogServerClient) return;
14 posthogServerClient?.capture({ distinctId: session.user.id, event: path });
15};
16
17export const captureFineTuneTrainingFinished = (
18 projectId: string,

Callers 1

trpc.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected