kubernetes-handbook/node_modules/gitbook-plugin-3-ba
Jimmy Song c6db5e8fef
add node modules
2021-04-13 00:24:28 +08:00
..
book add node modules 2021-04-13 00:24:28 +08:00
.npmignore add node modules 2021-04-13 00:24:28 +08:00
LICENSE add node modules 2021-04-13 00:24:28 +08:00
README.md add node modules 2021-04-13 00:24:28 +08:00
index.js add node modules 2021-04-13 00:24:28 +08:00
package.json add node modules 2021-04-13 00:24:28 +08:00

README.md

Google Analytics tracking for GitBook

You can use install it via NPM:

$ npm install gitbook-plugin-3-ga

And use it for your book with in the book.json:

{
    "plugins": ["3-ba"]
}

You can set the Google Analytics tracking ID using the plugins configuration in the book.json:

{
    "plugins": ["3-ba"],
    "pluginsConfig": {
        "3-ba": {
            "token": "xxxxxxxx"
        }
    }
}

For an overview of all available configuration parameters, please refer to the analytics.js field reference.