@pittica/gatsby-plugin-cookiehub
v2.1.1
Published
CookieHub plugin for GatsbyJS.
Downloads
8
Readme
pittica/gatsby-plugin-cookiehub
Description
CookieHub plugin for GatsbyJS.
Install
npm install @pittica/gatsby-plugin-cookiehub
Usage
The plugin provides integration for CookieHub site.
Configuration
Edit your gatsby-config.js.
module.exports = {
plugins: [
{
resolve: `@pittica/gatsby-plugin-cookiehub`,
options: {
code: CODE,
debug: false,
cookie: 'pittica-cookiehub',
}
},
],
}
Options
key
Description: CookieHub domain code.
Required: YES.
Type: String.
debug
Description: A value indicating whether run CookieHub in debug/development mode.
Required: NO.
Type: Boolean.
cookie
Description: The prefix of the cookie name.
Required: NO.
Type: String.
Copyright
(c) 2021, Pittica S.r.l..