Skip to content

Commit 45f56cb

Browse files
committed
Cleanup, add example env vars to env.example
1 parent 5b00764 commit 45f56cb

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,8 @@ DISABLE_AUTH=true
8484
# Temporary JWT Keys for Playground (generate with scripts/generate-jwt-keys.sh)
8585
# INKEEP_AGENTS_TEMP_JWT_PRIVATE_KEY=
8686
# INKEEP_AGENTS_TEMP_JWT_PUBLIC_KEY=
87+
88+
# ========== ANALYTICS TOKENS ================
89+
# PUBLIC_POSTHOG_KEY=
90+
# PUBLIC_POSTHOG_HOST=https://us.i.posthog.com
91+
# PUBLIC_POSTHOG_SITE_TAG=

agents-manage-ui/src/app/login/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ function LoginForm() {
8383
return;
8484
}
8585

86-
// Identify user in analytics after successful login
8786
if (result?.data?.user) {
8887
const user = result.data.user;
8988
posthog?.identify(user.id, {

agents-manage-ui/src/app/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ function HomeContent() {
1818
const [isRedirecting, setIsRedirecting] = useState(false);
1919
const { PUBLIC_DISABLE_AUTH } = useRuntimeConfig();
2020
const posthog = usePostHog();
21-
console.log('posthog', posthog);
2221

2322
const tenantId = process.env.NEXT_PUBLIC_TENANT_ID || DEFAULT_TENANT_ID;
2423

25-
// Identify user in analytics when authenticated (handles OAuth callback)
2624
useEffect(() => {
2725
if (user && !isLoading) {
2826
posthog?.identify(user.id, {

0 commit comments

Comments
 (0)