Skip to content

Commit

Permalink
feat(analytics): install posthog, Closes #34
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobuddy committed Jan 21, 2025
1 parent 70e4188 commit 20b093f
Show file tree
Hide file tree
Showing 11 changed files with 729 additions and 140 deletions.
8 changes: 8 additions & 0 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@ const config: Config = {
debug: true,
mode: 'auto'
}
],
[
'posthog-docusaurus',
{
apiKey: 'phc_mF1SRUhtr11263wyrsGfsRqqAmUH1RXQZqRbSp4WyIz',
appUrl: 'https://eu.i.posthog.com',
enableInDevelopment: false
}
]
]
} satisfies Preset.ThemeConfig
Expand Down
9 changes: 9 additions & 0 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@docusaurus/preset-classic": "3.7.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"posthog-docusaurus": "^2.0.2",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
Expand Down
Loading

0 comments on commit 20b093f

Please sign in to comment.