@docmd/plugin-analytics
v0.6.7
Published
Analytics injection plugin for docmd.
Maintainers
Readme
@docmd/plugin-analytics
Injects Google Analytics (GA4) or legacy UA scripts into docmd sites.
Configuration
// docmd.config.js
module.exports = {
plugins: {
analytics: {
googleV4: {
measurementId: 'G-XXXXXXXXXX'
}
}
}
}The docmd Ecosystem
docmd is a modular system. Here are the official packages:
The Engine
- @docmd/core - The CLI runner and build orchestrator.
- @docmd/parser - The pure Markdown-to-HTML logic.
- @docmd/live - The browser-based Live Editor bundle.
Interface & Design
- @docmd/ui - Base EJS templates and assets.
- @docmd/themes - Official themes (Sky, Ruby, Retro).
Plugins
- @docmd/plugin-installer - Plugin installer for docmd.
- @docmd/plugin-search - Offline full-text search.
- @docmd/plugin-pwa - Progressive Web App support.
- @docmd/plugin-mermaid - Diagrams and flowcharts.
- @docmd/plugin-seo - Meta tags and Open Graph data.
- @docmd/plugin-sitemap - Automatic sitemap generation.
- @docmd/plugin-llms - AI context generation.
- @docmd/plugin-analytics - Google Analytics integration.
License
Distributed under the MIT License. See LICENSE for more information.
