feat(server): Events tracking using Posthog

This commit is contained in:
Ahmed Bouhuolia
2024-09-01 23:01:25 +02:00
parent 64080ed678
commit dcfc231d4d
18 changed files with 713 additions and 0 deletions

View File

@@ -253,4 +253,12 @@ module.exports = {
enable: parseBoolean(process.env.ONE_CLICK_DEMO_ACCOUNTS, false),
demoUrl: process.env.ONE_CLICK_DEMO_ACCOUNTS_URL || '',
},
/**
* PostHog
*/
posthog: {
apiKey: process.env.POSTHOG_API_KEY,
host: process.env.POSTHOG_HOST
}
};