pittica/gatsby-plugin-cookiehub

License Version Release GitHub package.json dependency version (dev dep on branch) npm

Description

CookieHub plugin for GatsbyJS.

Install

npm npm

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.

  • Description: The prefix of the cookie name.

    Required: NO.

    Type: String.

(c) 2021, Pittica S.r.l..