Skip to content
EasyCookies
EasyCookies
A cookie banner for MODX 2 and 3 — a simple notice or law-compliant consent, with counters and a consent log
  1. Extras
  2. EasyCookies
  3. Component settings

Component settings ​

MODX namespace: easycookies. The "System Settings" button in the component page header opens them.

KeyDefaultDescription
easycookies.auto_injectYesThe plugin outputs the active profile's banner on every HTML page. Switch it off to call the [[EasyCookies]] snippet from the template yourself
easycookies.auto_inject_profile—Name or id of the profile the plugin outputs; empty means the active profile of the context
easycookies.exclude_resources—Comma-separated resource ids where the plugin does not output the banner — for example, pages for mobile apps
easycookies.log_days365How many days to keep the consent log; 0 means forever
easycookies.log_ipYesStore the shortened IP in the log
easycookies.migrate_paths—Extra directories with .tpl and .html templates for "Find on the site", comma-separated: from the site root or with {core_path}, {base_path}, {assets_path}. The pdoTools elements directory is scanned anyway

Profile settings — text, look, counters, the consent cookie — are stored in the profile itself and changed in the editor.