How to add a simple popup modal on page load

Avatar

Avatar

scottt23929401

Avatar

scottt23929401

scottt23929401

26-05-2020

How can I add a simple popup modal on page load using adobe target?

modal Target

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

scottt23929401

Avatar

scottt23929401

scottt23929401

26-05-2020

make sure to follow the instructions on the target template page: https://docs.adobe.com/help/en/target/using/experiences/vec/modifications/experience-templates.html

Answers (2)

Answers (2)

Avatar

Avatar

raghavc

Avatar

raghavc

raghavc

26-05-2020

You might have to write some custom code for it

 

1) Create a HTML offer which contains the HTML code for the pop up and the JS which displays the popup on page load is complete.

2) Go go VCE editor and add the new HTML offer for the required experience

 

If the code for the pop up is already present in the page, then you need the JS code to display the popup.

 

 

 

 

Avatar

Avatar

LordOfTheRings

Avatar

LordOfTheRings

LordOfTheRings

26-05-2020

Hi @scottt23929401 You need to use Form -Based composer in order to display popup on the page. 

You need to write a JS and CSS in order to show a modal/popup on the page load.