You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

gitbook-plugin-statistics

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-statistics

Gitbook 数据统计插件

1.0.13
Source
npm
Version published
Weekly downloads
5
-28.57%
Maintainers
1
Weekly downloads
 
Created
Source

Gitbook 数据统计插件

习惯用cnzz的数据统计,但是目前没找到.. 一想有人也用百度的. 那么就模仿一下,把两个都加一下试试

  • 如果你添加了百度的参数(token),那么将会用百度统计
  • 如果你添加了cnzz的参数(cnzz_id),那么将会用cnzz统计
  • 如果你两者都添加了,那么两个统计就都会用到

Usage

"plugins": [
        "statistics"
    ],
    "pluginsConfig": {
        "statistics": {
              "bd_token": "百度token",
              "cnzz_id": xxxxxxx
            }
    }

参考了 https://github.com/huisman6/gitbook-plugin-baidu-tongji

Keywords

gitbook

FAQs

Package last updated on 17 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts