Create a Cookie Based Age Verification Popup

Create a Cookie Based Age Verification Popup

A tutorial which helps you create a Cookie Based Age Verification Popup for your visitors to confirm their age before viewing the content of your website using EngageBox .

Create a new Box

  • Go to Components → EngageBox and create a new Box by clicking New → Blank Popup
  • Enter a name in the Title field at the top of the page.
  • Set Box Type to Yes No

Yes and No Configuration

Use the Title to describe its purpose, and keep Show Title on so it appears in the popup. For example, "You must be 21 or older to Enter!".

engagebox-age-verification-headline

On the Content tab, enter your message in the Headline editor, for example "Our content is Age Restricted for guests above 21 years old.". Of course, you can write anything else that fits your website better.

engagebox-age-verification-text

For the Yes Button follow the options in the screenshot below.

engagebox-age-verification-yes-button

For the No Button follow the options in the screenshot below.

engagebox-age-verification-no-button

Behavior Options

The optimal configuration for an age verification box is to set it to trigger at the center of the screen (Design → Position → Middle Center) once the page loads, and select the Page Load trigger on the Behavior tab. Take a look at the screenshot below to see the options for this result.

engagebox-age-verification-trigger

engagebox-age-verification-cookie-setting

Under Cookie, set After Close Stay Hidden (for example 30 Days) so visitors who've confirmed their age aren't asked again.

Design

To virtually lock the content behind it, go to the Design tab, set Background Overlay to Enabled, turn off Close on Click, and set Close Button to Hide. Also make sure Close with ESC key (Behavior → Accessibility) is off. Take a look at the screenshot below to see the options for this result.

engagebox-age-verification-appearance

engagebox-age-verification-background-overlay

You are done!

Last updated on Oct 15th 2026 17:10