Skip to content

emmanuel-keller/gitbook-plugin-piwik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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