Statcounter plugin for Docusaurus
This post is from JsPlumb, which is now in maintenance mode. We still use StatCounter in VisuallyJs, though.
JsPlumb uses Statcounter to keep track of what pages in the documentation people are looking at. Recently, at the tail end of the work to migrate to Typescript and release version 5.x of the Community and Toolkit editions, we started using Docusaurus, a super handy static site generator that not only runs on React but has React baked right into it, allowing us to easily embed working demonstrations throughout our docs, or to embed snippets from the api documentation directly into the main documentation via React components. It's a really handy tool, and if you're looking for a static site generator I recommend giving it a look.
When I say "Docusaurus" in this post I am talking about v2. I've not used v1.