From fa9c6581fd059bd3a9e43e9cf3e08e2a310a8e80 Mon Sep 17 00:00:00 2001 From: Dakshesh Jain <65905942+dakshesh14@users.noreply.github.com> Date: Wed, 29 Mar 2023 16:34:56 +0530 Subject: [PATCH] fix: using proper name for tracker key (#581) * fix: transmitting selective data for analytics * fix: using proper name for tracker key * fix: using proper name for tracker key --- apps/app/pages/api/track-event.ts | 2 +- turbo.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app/pages/api/track-event.ts b/apps/app/pages/api/track-event.ts index 0c3ec5dbe..c9255d215 100644 --- a/apps/app/pages/api/track-event.ts +++ b/apps/app/pages/api/track-event.ts @@ -5,7 +5,7 @@ import { createClient } from "@jitsu/nextjs"; import { convertCookieStringToObject } from "lib/cookie"; const jitsu = createClient({ - key: process.env.JITSU_ACCESS_KEY || "", + key: process.env.TRACKER_ACCESS_KEY || "", tracking_host: "https://t.jitsu.com", }); diff --git a/turbo.json b/turbo.json index b5190bdd9..da0f54e10 100644 --- a/turbo.json +++ b/turbo.json @@ -12,7 +12,7 @@ "NEXT_PUBLIC_ENABLE_OAUTH", "NEXT_PUBLIC_UNSPLASH_ACCESS", "NEXT_PUBLIC_TRACK_EVENTS", - "JITSU_ACCESS_KEY", + "TRACKER_ACCESS_KEY", "NEXT_PUBLIC_CRISP_ID" ], "pipeline": {