gitbook-plugin-baidu_gio
v0.1.0
Published
Baidu Analytics tracking for your gitbook.
Downloads
3
Maintainers
Readme
Baidu Analytics tracking for GitBook
A gitbook plugin to add Baidu Analytics for your book
Install Plugin
Install with this command:
npm install gitbook-plugin-baidu_gio
or add this to your book.json
config:
{
"plugin": ["baidu_gio"]
}
and install it using:
gitbook install ./
Use Plugin
First you should have a Baidu Analytics token, looks like c12134efe8099063bacebecb25df3b7d
.
Then add your token to book.json
config:
{
"plugin": ["baidu_gio"],
"pluginsConfig": {
"baidu_gio": {
"token": "YOUR TOKEN"
}
}
}
Finally build your book with gitbook again and you'll get what you want.
History
- Ver 0.0.2 init