fivebar

Docusaurus

Copy page
View Markdown
Open with
Connect MCP
Claude Mistral Vibe Cursor VS Code

Add the tag to every page of a Docusaurus site, from its config.

Add the script to scripts in docusaurus.config.js, with async and your domain:

export default {
  // …
  scripts: [
    { src: 'https://fiveb.ar/js/tally.js', async: true, 'data-domain': 'example.com' },
  ],
};

Docusaurus puts it in the head of every page. It moves between pages without loading them, and each is counted as a single-page app’s. See Docusaurus’s configuration.

Once it’s live, check it works.