6fdigital/silverstripe-cookieyes

An extension for SilverStripe for an easy installation of a CookieYes consent banner.

Installs: 162

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

v1.0.0 2021-01-26 12:14 UTC

This package is auto-updated.

Last update: 2024-04-16 20:20:39 UTC


README

An extension for SilverStripe 4+ which allows displaying a Cookie Consent Banner from CookieYes

Requirements

SilverStripe >= 4

Installation

$ composer require 6fdigital/silverstripe-cookieyes

Then run dev/build.

In your main Page.ss template add the $CookieYes variable between the <head></head> tags.

Usage

After installation of the module, login to the cms and go to Settings > CookieYes. There you will find two fields:

Name Description
Active Whether to show the banner on the website or not
Script The installation code given by CookieYes

Now you can save the settings and the consent banner will apppear on the pages of your websites.