Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/branchup/docusaurus-plugin-simple-analytics

Simple Analytics plugin for Docusaurus. Now moved as official package by Simple Analytics here: https://github.com/simpleanalytics/docusaurus-plugin
https://github.com/branchup/docusaurus-plugin-simple-analytics

Last synced: 3 months ago
JSON representation

Simple Analytics plugin for Docusaurus. Now moved as official package by Simple Analytics here: https://github.com/simpleanalytics/docusaurus-plugin

Awesome Lists containing this project

README

        

# Simple Analytics Docusaurus Plugin

[Simple Analytics](https://simpleanalytics.com/) plugin for Docusaurus.

## Setup

Install the package `@branchup/docusaurus-plugin-simple-analytics`:

```
npm install --save @branchup/docusaurus-plugin-simple-analytics
```

Or

```
yarn add @branchup/docusaurus-plugin-simple-analytics
```

Then, add the plugin to `docusaurus.config.js`:

```
plugins: [
...
['@branchup/docusaurus-plugin-simple-analytics', {}],
...
],
```

## Options

- The property `domain` lets you specify [your custom domain](https://docs.simpleanalytics.com/bypass-ad-blockers).

**Example**

```
plugins: [
...
['@branchup/docusaurus-plugin-simple-analytics', {
domain: 'custom.domain.com'
}],
...
],
```

## Notes

The plugin has no effect in development.

## License

Licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.php)