New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
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.24
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Gitbook 数据统计插件

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

  1. 如果你添加了百度的参数(token),那么将会用百度统计
  2. 如果你添加了cnzz的参数(cnzz_id),那么将会用cnzz统计
  3. 如果你添加了google分析的参数(google_id),那么将会用谷歌分析
  4. 如果你三者都添加了,那么三个统计就都会用到

Usage

"plugins": [
        "statistics"
    ],
    "pluginsConfig": {
        "statistics": {
              "bd_token": "百度token",
              "cnzz_id": xxxxxxx
              "google_id": "google analytics 追踪ID"
            }
    }

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

Keywords

FAQs

Package last updated on 25 Nov 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc