Tassos Marinos Developer of Joomla Extensions

The Cookie Condition

Published in EngageBox
Updated 16 Feb, 2022

The Cookie Condition lets you display a box on occassions where you know that the users might have a Cookie. You can take advantage of the Cookie's name and its value with extreme flexibility.

Cookie Display Conditions

Options

In the table below you can see which options are available to setup the Cookie Condition.

Name Description
Cookie Name This is the cookie name you want to check against with.
Match

With this option you can select the "Exists" option to see if the Cookie with the Name you typed before, exists.

All the other options are related to the value of the Cookie. You can take advantage of the comparisons below to compare the cookie's content to what you want it compared with.

  • Exists
  • Does not exists
  • Is empty
  • Is not empty
  • Equals
  • Does not equal
  • Contains
  • Does not contain
  • Starts with
  • Does not start with
  • Ends with
  • Does not end with
Cookie Content

This option is visible only when you have selected in the "Match" option something other than:

  • Exists
  • Does not exist
  • Is empty
  • Is not empty

Whatever you type here will be compared to the Cookie's value according to the Match Type.

Use Case

If you are familiar with all the cookies that your Joomla! Website might be sending to your visitors, you can fine tune the box to be displayed exactly when a certain cookie is present and contains a certain value.