24 lines
472 B
Markdown
24 lines
472 B
Markdown
# @docmd/plugin-analytics
|
|
|
|
Adds Google Analytics (GA4) to your docmd site - bundled with `@docmd/core`, zero installation required.
|
|
|
|
```js
|
|
// docmd.config.js
|
|
module.exports = {
|
|
plugins: {
|
|
analytics: {
|
|
googleV4: { measurementId: 'G-XXXXXXXXXX' }
|
|
}
|
|
}
|
|
};
|
|
```
|
|
|
|
Part of the **[docmd](https://github.com/docmd-io/docmd)** documentation engine.
|
|
|
|
## Documentation
|
|
|
|
See **[docs.docmd.io](https://docs.docmd.io)** for full usage and API reference.
|
|
|
|
## License
|
|
|
|
MIT |