Package Exports
- docusaurus-plugin-fathom
- docusaurus-plugin-fathom/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (docusaurus-plugin-fathom) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
docusaurus-plugin-fathom
Fathom analytics plugin for Docusaurus v2 and v3.
🔥 Fathom is a privacy-focused website analytics. Get 10$ off to try it with this link 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-fathomConfiguration
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