This page demonstrates the standard template for Popup takeover provided by Sitecore Personalize.
Popup takeover
2024-11-15

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:
| Variable | Type | Description |
|---|---|---|
| Title Text | string | Title |
| Description Text | string | Text displayed in the popup |
| Button title | string | Button 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