Package Exports
- gitbook-plugin-ga
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gitbook-plugin-ga) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Google Analytics tracking for GitBook
You can use install it via NPM:
$ npm install gitbook-plugin-gaAnd use it for your book with in the book.json:
{
"plugins": ["ga"]
}You can set the Google Analytics tracking ID using the plugins configuration in the book.json:
{
"plugins": ["ga"],
"pluginsConfig": {
"ga": {
"token": "UA-XXXX-Y"
}
}
}