piwik

README

Piwik tracking for GitBook

You can use install it via NPM:

$ npm install gitbook-plugin-piwik

And use it for your book with in the book.json:

{
    "plugins": ["piwik"]
}

You can set the URL of your Piwik instance, and tracking ID of the site using the plugins configuration in the book.json:

{
    "plugins": ["piwik"],
    "pluginsConfig": {
        "piwik": {
            "URL": "www.example.com/piwik/",
        "siteId": 1
        }
    }
}

Configuration

Setting Description Type Allowed values
jsPath String
default = piwik.js
-
phpPath String
default = piwik.php
-
siteId
required
Number
-
URL
required
String
-

Plugin


Latest: 0.2.1

0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1,

Requirements

GitBook
0.1.3 >=0.4.6
0.2.1 >=3.0.0-pre.0

Maintainers

Open on NPM