MCPcopy Index your code
hub / github.com/simstudioai/sim / track

Function track

apps/sim/proxy.ts:298–301  ·  view source on GitHub ↗

* Sends request data to Profound analytics (fire-and-forget) and returns the response.

(request: NextRequest, response: NextResponse)

Source from the content-addressed store, hash-verified

296 * Sends request data to Profound analytics (fire-and-forget) and returns the response.
297 */
298function track(request: NextRequest, response: NextResponse): NextResponse {
299 sendToProfound(request, response.status)
300 return response
301}
302
303export const config = {
304 matcher: [

Callers 1

proxyFunction · 0.85

Calls 1

sendToProfoundFunction · 0.90

Tested by

no test coverage detected