Add PostHog analytics integration to track user interactions

This commit is contained in:
Jose Selesan
2026-06-09 10:03:55 -03:00
parent 35b8775531
commit d604a658f9
2 changed files with 55 additions and 0 deletions

4
src/_data/site.js Normal file
View File

@@ -0,0 +1,4 @@
module.exports = {
posthogKey: process.env.POSTHOG_API_KEY || null,
posthogHost: process.env.POSTHOG_API_HOST || 'https://us.i.posthog.com',
}