Skip to main content
Lightboxes
James Harber avatar
Written by James Harber
Updated over 7 months ago

What are Lightboxes?

Lightboxes are a general description for a disruption to the normal experience that a visitor undertakes on a website. They are there to grab the attention of the visitor and can be used in a variety of ways.

  • To gain visitor sign-up

  • To notify stock shortages whilst a customer is browsing an item

  • To try to stop a visitor from leaving your site

  • To promote a special offer

If used too often, Lightboxes can be seen as an irritation so should be used selectively.

You can add Lightboxes to either a test (ABn or MVT) or a target. And by using either the widget facility within the Visual Editor or using code within the Visual or Advanced Editor.

It is our recommendation that the use of Lightboxes should be tested to gauge their effectiveness.

All Lightboxes should utilise an audience to trigger when and to whom the Lightbox will be shown.

Create a Lightbox using the Advanced Editor.

Code: Vanilla JS

// TODO // Add some code here.

Code: jQuery

// TODO // Add some code here.

Code: Widget

// TODO // Add some code here.

Did this answer your question?