- Optimizely Web Experimentation
Timed pop-up modals (also called lightboxes) can emphasize a call to action on your website, like asking visitors to sign up for a newsletter or share your page on social media sites. You can add a timed modal extension with Optimizely Web Experimentation to test a page with a pop-up.
Create a timed pop-up modal
-
Go to Implementation > Extensions.
-
Click Create New Extension... and select Using JSON.
-
Open Timed Modal config.json and copy the code.
-
Paste the code in the Create Extension From JSON field and click Create Extension.
-
Click the extension name (Timed Modal) to open the Extension Editor. You can change the headline, description, and call-to-action (CTA) text and link. You can also add an image to the pop-up modal.
-
Change the number of seconds before the modal pops up. Developers can also code extensions for modals that display after a certain user action.
-
Click Save.
Enable the timed modal extension
-
Go to Implementation > Extensions.
- Click the More icon and select Enable.
Add your timed pop-up modal to an experiment
Add your timed pop-up modal to an experiment with the step-by-step instructions below.
-
Go to Experiments and select the experiment where you want to add the modal.
-
Select the variation.
-
Click Create > Timed Modal.
-
Customize the modal fields specifically for this experiment. You can change the headline, subheadline, call-to-action (CTA) text and link, image, and number of seconds before the modal pops up.
-
Click Save.
Please sign in to leave a comment.