|
1 | | -# A Personalizaed Popup in 5 minutes |
| 1 | +--- |
| 2 | +description: >- |
| 3 | + Learn how to create and customize a popup with no coding required in just a |
| 4 | + few simple steps. |
| 5 | +--- |
2 | 6 |
|
3 | | -We can use this content; |
| 7 | +# Create a Personalized Popup in 5 minutes |
4 | 8 |
|
5 | | -https://www.umarketingsuite.com/blog/a-personalized-popup-in-5-minutes/ |
| 9 | +In this tutorial, you will learn how to create and customize a popup using Umbraco Engage. We will walk you through creating a target segment, applying personalization, and setting up the popup with pre-defined templates. |
| 10 | + |
| 11 | +Popups are powerful for capturing attention, promoting special offers, and encouraging visitors to take action. With a timed popup, you can boost and increase engagement on your website. |
| 12 | + |
| 13 | +## Step 1: Create a Segment |
| 14 | + |
| 15 | +Creating a segment allows you to define specific groups within your audience based on shared behaviors. By segmenting your audience, you can deliver tailored content that suits their interests and needs. |
| 16 | + |
| 17 | +To create a segment, follow these steps: |
| 18 | + |
| 19 | +1. Login to Umbraco. |
| 20 | +2. Go to the **Marketing** section. |
| 21 | +3. Select **Personalization** **->** **Segments**. |
| 22 | +4. Click on **Add new segment**. |
| 23 | + |
| 24 | +<figure><img src="../.gitbook/assets/Add-new-segment.png" alt=""><figcaption><p>Add New Segment</p></figcaption></figure> |
| 25 | + |
| 26 | +5. Enter the **Title** in the Add new segment overlay. For example: _Popup targeted audience._ |
| 27 | +6. Provide a **Description**. For example: _Targeting visitors who haven't seen our popup._ |
| 28 | +7. Select **Temporary** as the **Segment Type**_._ |
| 29 | +8. Set the **End Time** to a date, ideally sometime in the future. |
| 30 | + |
| 31 | +<figure><img src="../.gitbook/assets/Add-new-segment-overlay.png" alt=""><figcaption><p>Add new Segment Overlay</p></figcaption></figure> |
| 32 | + |
| 33 | +9. Select **Number of sessions** in **Choose a parameter** tab. |
| 34 | +10. Change _Exactly_ to **More than** in the **Applied parameters** field and set the number of sessions to **0**. |
| 35 | + |
| 36 | +<figure><img src="../.gitbook/assets/Number-of-sessions.png" alt=""><figcaption><p>Number of Sessions parameter</p></figcaption></figure> |
| 37 | + |
| 38 | +11. Click **Save parameter.** |
| 39 | +12. Click **Add segment**. |
| 40 | + |
| 41 | +You have now created a segment targeting all visitors with more than 0 sessions. |
| 42 | + |
| 43 | +## Step 2: Apply Personalization |
| 44 | + |
| 45 | +To target the segment with a popup, follow these steps: |
| 46 | + |
| 47 | +1. Navigate to **Applied Personalization** in the **Personalization** tab. |
| 48 | +2. Click on **Apply new personalization**. |
| 49 | + |
| 50 | +<figure><img src="../.gitbook/assets/Apply-new-personalization.png" alt=""><figcaption><p><strong>Apply new personalization</strong></p></figcaption></figure> |
| 51 | + |
| 52 | +3. Enter a **Title**. For example: _A popup to inform visitors._ |
| 53 | +4. Provide a **Description.** For example: _This popup will grab visitors' attention with our great offer!_ |
| 54 | + |
| 55 | +<figure><img src="../.gitbook/assets/Personalization-screen.png" alt=""><figcaption><p>Personalization screen</p></figcaption></figure> |
| 56 | + |
| 57 | +5. Choose **Multiple Pages** from the **Select personalization type** drop-down list**.** |
| 58 | +6. Click **Add** in **Select multiple pages.** |
| 59 | +7. Use the Umbraco page picker to pick one or more pages.  |
| 60 | +8. Click **Submit**. |
| 61 | +9. Select the segment created in [Step 1: Create a Segment](a-personalized-popup-in-5-minutes.md#step-1-create-a-segment). |
| 62 | +10. Click on **Select segment.** |
| 63 | +11. Pick **Popup targeted audience**. |
| 64 | +12. Click **Submit**. |
| 65 | + |
| 66 | +## Step 3: Set Up the Popup |
| 67 | + |
| 68 | +To include the popup template, follow these steps: |
| 69 | + |
| 70 | +1. Click **Include CSS/JavaScript** in **Add/Edit code.** |
| 71 | + |
| 72 | +<figure><img src="../.gitbook/assets/include-css-javascript.png" alt=""><figcaption><p>Stylesheet selection</p></figcaption></figure> |
| 73 | + |
| 74 | +2. Copy and paste the CSS and JavaScript from the [**Generic popup overlay template**](marketing-resources/generic-popup-template.md) in these fields. |
| 75 | + |
| 76 | +<figure><img src="../.gitbook/assets/stylesheet-fields.png" alt=""><figcaption><p>Add stylesheet to fields</p></figcaption></figure> |
| 77 | + |
| 78 | +3. Click **Save and close**. |
| 79 | + |
| 80 | +<figure><img src="../.gitbook/assets/setup-personalization-screen.png" alt=""><figcaption></figcaption></figure> |
| 81 | + |
| 82 | +4. Click **Save & Start**. |
| 83 | + |
| 84 | +Go to your website and visit the page(s) where you applied the popup personalization. The popup will appear. |
| 85 | + |
| 86 | +{% hint style="info" %} |
| 87 | +If the popup does not appear, check the **flush rate setting** in the `/config/uMarketingSuite/uMarketingSuite.config` file. Make sure the **Flush interval** is set to 1 second. |
| 88 | +{% endhint %} |
| 89 | + |
| 90 | +## Step 4: Change the Popup Content |
| 91 | + |
| 92 | +To update the popup content, follow these steps: |
| 93 | + |
| 94 | +1. Navigate to **Marketing -> Personalization -> Applied Personalization**. |
| 95 | +2. Click the **Edit** icon next to your popup. |
| 96 | +3. Scroll down to the HTML/JavaScript code section. |
| 97 | +4. Click **Edit** to update the content. |
| 98 | + |
| 99 | +You have now created and customized your first popup, and it is up and running. |
0 commit comments