1.3.0 • Published 5 years ago

gitbook-plugin-baidu-nfer v1.3.0

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

Baidu Analytics tracking for GitBook

Dependency Status devDependency Status

A gitbook plugin to add Baidu Analytics for your book

Install Plugin

Install with this command:

npm install gitbook-plugin-baidu-nfer

or add this to your book.json config:

{
    "plugin": ["baidu-nfer"]
}

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-nfer"],
    "pluginsConfig": {
        "baidu-nfer": {
            "token": "YOUR TOKEN"
        }
    }
}

Finally build your book with gitbook again and you'll get what you want.

History

  • Ver 0.0.2 init
1.3.0

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago