Skip to content

Commit

Permalink
chore(posthog): embed values
Browse files Browse the repository at this point in the history
  • Loading branch information
lindtvedtsebastian committed Jun 13, 2024
1 parent 957d123 commit 444f736
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions next-tavla/app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import posthog from 'posthog-js'
import { PostHogProvider } from 'posthog-js/react'
import { ReactNode } from 'react'

if (typeof window !== 'undefined' && process.env.NEXT_PUBLIC_POSTHOG_KEY) {
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, {
api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
if (typeof window !== 'undefined') {
posthog.init('phc_Iu3qLYA1btPuImlxyuQajuvQUoxp6ShId7wwvaMZGJb', {
api_host: 'https://eu.posthog.com',
capture_pageview: false, // This will be done manually
autocapture: false, // We will capture manually
})
Expand Down

0 comments on commit 444f736

Please sign in to comment.