Tassos Marinos Tassos Marinos Joomla Extensions

How to create a Cookie Law Popup

Published in EngageBox
Updated 19 Aug, 2024

European and American laws require digital publishers to inform visitors to their sites and apps about their use of cookies and other forms of local storage and obtain consent.

The implementation of such notice can vary from website to website. In this tutorial, we have chosen to explain the most common use case: a sticky bar popup with some informational text and an "Agree" button.

EngageBox offers many cookie consent pre-made popup templates you can choose from, which is what we will do. There's no need to create one from scratch.

Step 1: Go to Components > EngageBox > Click "New"

Add new Joomla popup with EngageBox

Search for Cookie Law Popup pre-made popup templates in EngageBox

Step 3: Insert the popup

Insert Cookie Law Popup in Joomla

Step 4: How do you trigger it correctly

Go to Behavior > Trigger and select the "Page Load" trigger (selected by default). This ensures our popup appears on page load.

Make cookie law popup appear on page load

Secondly, we need to tell the popup not to reappear after it has been closed. In this example, we'll set the popup to hide for 30 days. You can configure it as desired.

Make cookie law popup hide for 30 days after it has been closed

Note

EngageBox's purpose is to display the text given in the Content tab; it doesn't prevent cookies from being stored on the visitor's browser.