Initial Analitys with Posthog

This commit is contained in:
Adolfo Reyna
2025-02-06 10:32:52 -05:00
parent caaed40476
commit 602081bf98
5 changed files with 89 additions and 11 deletions

6
PostHog.js Normal file
View File

@@ -0,0 +1,6 @@
import PostHog from 'posthog-react-native'
export const posthog = new PostHog('phc_2zh7SoBDi83vaa7Rz4YWTXWCjV0bOLfiqRyUo2mkf0b', {
// usually 'https://us.i.posthog.com' or 'https://eu.i.posthog.com'
host: 'https://us.i.posthog.com' // host is optional if you use https://us.i.posthog.com
})