Skip to content

Commit

Permalink
feat: Enable PostHog analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
trillium committed Aug 13, 2024
1 parent 359acfd commit 732f571
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions data/siteMetadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ const siteMetadata = {
// src: '', // e.g. https://plausible.my-domain.com/js/script.js
// },
// simpleAnalytics: {},
// posthogAnalytics: {
// posthogProjectApiKey: '', // e.g. 123e4567-e89b-12d3-a456-426614174000
// },
posthogAnalytics: {
posthogProjectApiKey: process.env.NEXT_PUBLIC_POSTHOG_KEY,
api_host: '/ingest',
},
// googleAnalytics: {
// googleAnalyticsId: '', // e.g. G-XXXXXXX
// },
Expand Down

0 comments on commit 732f571

Please sign in to comment.