/honkit-plugin-google-analytics

Add a google analytics tag to your Honkit documentation.

Primary LanguageHTML

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"
        }
    }
}