DEPRECATION WARNING

This documentation is not using the current rendering mechanism and will be deleted by December 31st, 2020. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Setup

Most of the setup properties will be inherited from the constants. However you always override them in the setup part of your TypoScript Template.

plugin.tx_cookieconsent.settings.pages

privacyStatement

Property

privacyStatement

Data type

int

Description

Page ID where the privacy statement or more information about tracking cookies can be found. This will be presented as a link on the bar.

Default

{$plugin.tx_cookieconsent.pages.privacyStatement}

plugin.tx_cookieconsent.settings.loadScripts

mode

Property

mode

Data type

string

Description

Only 2 options are possible: blacklist / whitelist. Domains will be filtered by excluding them (blacklist), or including them (whitelist)

Default

{$plugin.tx_cookieconsent.loadScripts.mode}

domains.[array]

Property

domains.[array]

Data type

string

Description

List of domains for blacklist (exclude) / whitelist (include)

Example

The following example will exclude dynamic insertion of script from Google Tag Manager, Google Analytics and Google DoubleClick.

plugin.tx_cookieconsent {
   settings {
      mode = blacklist
      domains {
         googleTagManager = googletagmanager.com
         googleAnalytics = google-analytics.com
         doubleClick = doubleclick.net
      }
   }
}

plugin.tx_cookieconsent.settings.checkBrowserDNT

Property

checkBrowserDNT

Data type

boolean

Description

1 (true) when the "Do Not Track" setting of the browser has to be taken into account.

Default

{$plugin.tx_cookieconsent.checkBrowserDNT}

plugin.tx_cookieconsent.settings.showDenyButton

Property

showDenyButton

Data type

boolean

Description

1 (true) shows also the button to deny the consent. By clicking this button, the visitor will not be tracked and the cookie bar will not be shown anymore.

Default

{$plugin.tx_cookieconsent.showDenyButton}