Popup takeover

This page demonstrates the standard template for Popup takeover provided by Sitecore Personalize.

Image

Settings

Title Text

You can set the title text for the Popup takeover. This item can be changed in Title - Title Text.

Description Text

You can set the text displayed in the Popup takeover. This item can be changed in Description - Description Text.

Button Label

You can set the label for the button displayed in the Popup takeover. This item can be changed in Button - Button title.

Code Review

The variables included in the HTML are as follows:

VariableTypeDescription
Title TextstringTitle
Description TextstringText displayed in the popup
Button titlestringButton label

HTML Code

The HTML for the Popup takeover is set as follows:

Popuptakeover.html

JavaScript Code

The JavaScript for the Popup takeover is set as follows:

Popuptakeover.js