Skip to content

pradel/docusaurus-plugin-fathom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docusaurus-plugin-fathom

Fathom analytics plugin for Docusaurus v2 and v3.

🔥 Fathom is cookie-free, GDPR compliant, privacy-first website analytics software. Get $10 off your first invoice and a 7-day free trial when you use this URL: https://usefathom.com/ref/ZB4OSQ. 🔥

Installation

Run the following command to install docusaurus-plugin-fathom in your project:

# With npm
npm install docusaurus-plugin-fathom --save

# With yarn
yarn add docusaurus-plugin-fathom

# With pnpm
pnpm add docusaurus-plugin-fathom

Configuration

Edit the configuration in your site's docusaurus.config.js file:

// docusaurus.config.js

module.exports = {
  plugins: [require.resolve('docusaurus-plugin-fathom')],
  themeConfig: {
    fathomAnalytics: {
      siteId: 'MY_FATHOM_CODE',
    },
  },
};

Note: tracking is enabled only on production mode

Releases

No releases published

Sponsor this project

 

Packages

No packages published