@gracefullight/docusaurus-plugin-cloudflare-analytics
v1.0.0
Published
This plugin provides an easy way to add Cloudflare Analytics to your Docusaurus documentation website.
Downloads
90
Maintainers
Readme
@gracefullight/docusaurus-plugin-cloudflare-analytics
This plugin provides an easy way to add Cloudflare Analytics to your Docusaurus documentation website.
Installation
You can install this plugin via pnpm:
pnpm add @gracefullight/docusaurus-plugin-cloudflare-analytics
To use this plugin, you will need to configure it in your Docusaurus docusaurus.config.js
file. You can add the following configuration to enable the plugin:
module.exports = {
plugins: [
[
"@gracefullight/docusaurus-plugin-cloudflare-analytics",
{ token: "YOUR_TOKEN" },
],
],
};
You need to replace "YOUR_TOKEN" with the key you received from Cloudflare Analytics.