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
This commit is contained in:
Dakshesh Jain 2023-03-29 16:34:56 +05:30 committed by GitHub
parent 96910e1897
commit fa9c6581fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import { createClient } from "@jitsu/nextjs";
import { convertCookieStringToObject } from "lib/cookie"; import { convertCookieStringToObject } from "lib/cookie";
const jitsu = createClient({ const jitsu = createClient({
key: process.env.JITSU_ACCESS_KEY || "", key: process.env.TRACKER_ACCESS_KEY || "",
tracking_host: "https://t.jitsu.com", tracking_host: "https://t.jitsu.com",
}); });

View File

@ -12,7 +12,7 @@
"NEXT_PUBLIC_ENABLE_OAUTH", "NEXT_PUBLIC_ENABLE_OAUTH",
"NEXT_PUBLIC_UNSPLASH_ACCESS", "NEXT_PUBLIC_UNSPLASH_ACCESS",
"NEXT_PUBLIC_TRACK_EVENTS", "NEXT_PUBLIC_TRACK_EVENTS",
"JITSU_ACCESS_KEY", "TRACKER_ACCESS_KEY",
"NEXT_PUBLIC_CRISP_ID" "NEXT_PUBLIC_CRISP_ID"
], ],
"pipeline": { "pipeline": {