How to track analytics on a Docusaurus-built website? #11946
Unanswered
RemiLacroix-IDRIS
asked this question in
Q&A
Replies: 1 comment
-
|
You can take inspiration from existing analytics plugin we provide, based on client module lifecycle hooks:
There are many community plugins available, implemented in similar ways, for example: https://posthog.com/docs/libraries/docusaurus You have to track the navigations using client-side code |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
What would you suggest to keep track of a Docusaurus-built website usage?
Being that Docusaurus generate a client app, I think that using the server logs wouldn't work as it would miss most of the page views.
We would rather use something self-hosted and simple.
Best,
Rémi
Beta Was this translation helpful? Give feedback.
All reactions