Skip to content

Commit 52c73a8

Browse files
committed
fix: set per-project analytics API key for codenalytics telemetry
1 parent 71d9b3f commit 52c73a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/api/analytics/track/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { AnalyticsResponse, EventData } from "@codenificient/analytics-sdk"
22
import { NextRequest, NextResponse } from "next/server"
33

44
const ANALYTICS_ENDPOINT = process.env.NEXT_PUBLIC_ANALYTICS_ENDPOINT || ""
5-
const API_KEY = process.env.NEXT_PUBLIC_ANALYTICS_API_KEY || ""
5+
const API_KEY = process.env.NEXT_PUBLIC_ANALYTICS_API_KEY || "proj_codeniwork_main"
66

77
interface AnalyticsRequestPayload {
88
events?: EventData[]

0 commit comments

Comments
 (0)