SilverStripe GDPR Cookie Policy Module

Installs: 145

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 2

Open Issues: 2



1.0.12 2019-04-12 08:43 UTC

This package is auto-updated.

Last update: 2023-11-22 03:22:36 UTC


Fully configurable SilverStripe plugin to notify users about (GDRP) cookie policies.


  • SilverStripe 3

Installation instructions

  • Install via composer: composer require novatio/gdpr-cookiepolicy.
  • Visit to rebuild the database.
  • Visit, navigate to the Cookie Policy-tab and customize the look and feel of the Cookie Policy to your liking.

Usage instructions

You can choose to let the module do all the work for you (by placing all [tracker]scripts that you need in Google Tag Manager) and conditionally loading GTM and / or use available functions to load or bypass scripts in models, controllers and/or templates.

To conditionally load scripts in templates:

    <% if $CookiePolicyAccepted %>
    	<%-- some templating. --%>
    <% end_if %>

To conditionally load scripts in code:

    if (CookiePolicy::accepted()) {
        // some code.

Known Issues

GitHub Issue Tracker


This module is based on fractaslabs/silverstripe-cookie-policy-notification and adapted to be more customisable and to be more compliant with the strict new GDRP rules. Thanks to Milan Jelicanin & Petar Simic.

Thanks to carhartl for the jQuery Cookie plugin.

Thanks to prolificjones82 for the jQuery UK Cookie Policy Notice: A simple plugin to notify users you adhere to the UK's cookie policies.


See licence