Varde on Docusaurus
Add Varde to a Docusaurus docs site with one plugin. Page changes inside the site are counted automatically.
Install
npm install docusaurus-plugin-varde// docusaurus.config.js
export default {
plugins: [['docusaurus-plugin-varde', { site: 'YOUR_SITE_ID', autoEvents: true }]],
};Options
| Option | What it does |
|---|---|
site | Your site ID. Required. |
autoEvents | Counts outbound links, file downloads, email and phone clicks. |
ignorePages | Paths to skip, for example ['/admin*']. |
hash | Counts #/route changes as pageviews. |
enabled | Set to false to turn tracking off for example on a staging build. |
Check that it works
Open your site in a normal browser window. The add-site screen shows Connected once the first pageview arrives, and the dashboard fills in within a few minutes. If nothing shows up, see the checklist at the bottom of Install on your platform.
Other platforms
WordPressNext.jsAstroNuxtLovableShopifyWebflowFramerSquarespaceWixGhost