emmanuel-keller / gitbook-plugin-piwik

Piwik plugin for Gitbook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
        }
    }
}

About

Piwik plugin for Gitbook

License:Apache License 2.0


Languages

Language:HTML 82.8%Language:JavaScript 17.2%