3-ba

README

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.

Configuration

Setting Description Type Allowed values
configuration Configuration mode String | Object
default = auto
-
token
required
Baidu Analytics Token String
-

Plugin

Baidu Analytics tracking for your gitbook version 3

https://github.com/frankfang/gitbook3-plugin-ba


Latest: 0.9.0

0.9.0,

Requirements

GitBook
0.9.0 >=3.0.0

Maintainers

Open on NPM