webiny-app-cookie-policy

1.0.2 • Public • Published

webiny-app-cookie-policy

code style: prettier PRs Welcome

Renders a simple cookie policy info banner on your site. Powered by Cookie Consent (https://cookieconsent.insites.com/).

Use together with webiny-api-cookie-policy package.

Install

npm install --save webiny-app-cookie-policy

Or if you prefer yarn:

yarn add webiny-app-cookie-policy

Note: the webiny-api-cookie-policy is also required.

Setup

To setup, you must register a set of plugins. For more information on plugins, please visit Webiny documentation.

Admin

import cookiePolicyPlugins from "webiny-app-cookie-policy/admin"
import { registerPlugins } from "webiny-plugins";

registerPlugins(cookiePolicyPlugins);

Enables management of cookie policy settings, which can be accessed via Settings section in the main menu. Here you can edit things like banner position, colors and labels.

Site

import cookiePolicyPlugins from "webiny-app-cookie-policy/render"
import { registerPlugins } from "webiny-plugins";

registerPlugins(cookiePolicyPlugins);

Renders cookie policy banner. Use in your public website.

Readme

Keywords

none

Package Sidebar

Install

npm i webiny-app-cookie-policy

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

72.9 kB

Total Files

24

Last publish

Collaborators

  • webiny