Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

honkit-plugin-google-analytics

stuyk5Apache-2.01.0.0

Add a google analytics tag to your Honkit documentation.

seo, google, analytics, honkit

readme

Google Analytics Hook for Honkit

Adds a standard UA-XXXXXXXX-Y analytics hook for google analytics to your header.

Install

npm install honkit-plugin-google-analytics --save-dev

Usage

Add it to your book.json with this configuration...

{
    "plugins": ["honkit-plugin-google-analytics"],
    "pluginsConfig": {
        "analytics": {
            "uid": "UA-XXXXXXXX-Y"
        }
    }
}