Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pittica/gatsby-plugin-cookiehub
CookieHub plugin for GatsbyJS.
https://github.com/pittica/gatsby-plugin-cookiehub
cookiehub cookies gatsby gatsby-plugin gatsbyjs gdpr-cookie pittica
Last synced: 16 days ago
JSON representation
CookieHub plugin for GatsbyJS.
- Host: GitHub
- URL: https://github.com/pittica/gatsby-plugin-cookiehub
- Owner: pittica
- License: mit
- Created: 2021-03-04T14:14:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-22T18:08:35.000Z (almost 3 years ago)
- Last Synced: 2024-04-24T14:30:05.442Z (9 months ago)
- Topics: cookiehub, cookies, gatsby, gatsby-plugin, gatsbyjs, gdpr-cookie, pittica
- Language: JavaScript
- Size: 1.12 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# pittica/gatsby-plugin-cookiehub
![License](https://img.shields.io/github/license/pittica/gatsby-plugin-cookiehub)
![Version](https://img.shields.io/github/package-json/v/pittica/gatsby-plugin-cookiehub)
![Release](https://img.shields.io/github/v/release/pittica/gatsby-plugin-cookiehub)
![GitHub package.json dependency version (dev dep on branch)](https://img.shields.io/github/package-json/dependency-version/pittica/gatsby-plugin-cookiehub/react)
[![npm](https://img.shields.io/npm/v/@pittica/gatsby-plugin-cookiehub)](https://www.npmjs.com/package/@pittica/gatsby-plugin-cookiehub)## Description
[CookieHub](https://www.cookiehub.com/) plugin for [GatsbyJS](https://www.gatsbyjs.org/).
## Install
[![npm](https://img.shields.io/npm/v/@pittica/gatsby-plugin-cookiehub)](https://www.npmjs.com/package/@pittica/gatsby-plugin-cookiehub)
[![npm](https://img.shields.io/npm/dm/@pittica/gatsby-plugin-cookiehub)](https://www.npmjs.com/package/@pittica/gatsby-plugin-cookiehub)```shell
npm install @pittica/gatsby-plugin-cookiehub
```## Usage
The plugin provides integration for [CookieHub](https://www.cookiehub.com/) site.
## Configuration
Edit your **gatsby-config.js**.
```javascript
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.](https://pittica.com).