You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 13/umbraco-engage/tutorials/marketing-resources/generic-popup-template.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ description: >-
9
9
10
10
Use the popup template to start boosting your marketing activities. The template can be set up and used without help from a developer.
11
11
12
+
<figure><imgsrc="../../.gitbook/assets/image.png"alt=""><figcaption><p>A preview of the Generic Popup Template.</p></figcaption></figure>
13
+
12
14
It is recommended to personalize the popup to make it even more relevant for your specific audience. Follow the [Create a Personalized Popup in 5 minutes tutorial](../create-a-personalized-popup-in-5-minutes.md) to set up a personalized popup within Umbraco Engage.
13
15
14
16
{% hint style="info" %}
@@ -19,14 +21,14 @@ Install the [client-side script](../../developers/analytics/client-side-events-a
19
21
20
22
This popup will not affect the styling of your existing page or website. Some JavaScript is needed to insert the popup HTML in your existing content to apply the popup. The code also includes an option for the visitor to close the popup.
21
23
22
-
Copy and paste the following JavaScript below into Umbraco Engage.
24
+
Copy and paste the following JavaScript into Umbraco Engage. You can create a new JavaScript file containing the code or add it within a script tag in your template.
23
25
24
26
<details>
25
27
26
28
<summary>JavaScript</summary>
27
29
28
30
<preclass="language-javascript"><codeclass="lang-javascript">var popupTitle = "Popups do convert!"; // The title of your popup.
29
-
var popupText = "The average conversion; // The text of your popup.
31
+
var popupText = "The average conversion"; // The text of your popup.
30
32
var popupbuttonText = "I want this!"; // The button text.
31
33
var popupButtonLink = "https://www.umbraco.com/"; // The button link.
32
34
var popupButtonClose = "X"; // The close-button text.
@@ -102,7 +104,7 @@ if (!hasCookie) {
102
104
103
105
</details>
104
106
105
-
Now that you have your popup in place you can update the look. Copy and paste the following CSS into Umbraco Engage and your popup is ready.
107
+
Now that you have your popup in place you can update the look. Copy and paste the following CSS into Umbraco Engage and your popup is ready. You can add the CSS to your existing stylesheet or create a new one.
0 commit comments