1.0.3 • Published 7 years ago

gitbook-plugin-adsense v1.0.3

Weekly downloads
38
License
Apache-2.0
Repository
github
Last release
7 years ago

Google Adsense for GitBook

You can use install it via NPM:

$ npm install gitbook-plugin-adsense

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

{
  "plugins": ["adsense"]
}

You can set the Google Adsense client and slot keys using the plugins configuration in the book.json:

{
    "plugins": ["adsense"],
    "pluginsConfig": {
      "adsense": {
        "client": "ca-pub-XXXXXXXXXXXXXXXX",
        "slot": "XXXXXXXXXX",
        "format": "auto",
        "element": ".page-inner section",
        "position": "top"
      }
    }
}

Allowed positions are top and bottom (default)

1.0.3

7 years ago

0.0.9

7 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago