Customize Proactive Chat Pop-Ups

Customizable pop-ups for Proactive Chat offer more flexibility and options than basic pop-ups. These pop-up options are available for Live ChatClosed Agents and contacts interact on a real-time basis and Chat MessagingClosed Asynchronous chat in which contacts send a chat message anytime and wait for a reply channelsClosed A way for contacts to interact with agents or bots. A channel can be voice, email, chat, social media, and so on.. You can specify: 

  • What page on your website the pop-up appears on.
  • When the pop-up appears. You can configure certain events that trigger a pop-up to appear. Events can include things like a webpage visitor spending a certain amount of time on a page, or having a certain number of items in their shopping cart.
  • What the pop-up looks like. There are many options for customizing the appearance of advanced pop-ups, including text color, border color, border images, and pop-up location.

Tag Manager Applications

To use customizable pop-ups, your website must have a tagClosed A snippet of code placed in the HTML code for a website, which is used by Tag Manager applications. It's different from HTML code tags or tags in social media contexts. manager application. Tag managers are applications that can "watch" website visitors and trigger an action to happen in response. In the case of Digital Experience, the tag manager application triggers a pop-up to appear for a visitor.  You can use Google Tag Manager or another tag manager, such as Tealium.

In the tag manager, you define the events and conditions that you want to cause pop-ups to appear to website visitors. The conditions allow you to be very specific about when the pop-up appears. For example, if you define the event as the visitor scrolling down a page, you might not want the pop-up to appear to every visitor that scrolls on the page. You might want the pop-up to appear only to visitors who scroll more than halfway down the page. You can set that as the condition for the page scrolling event.

In Digital Experience, you create a Workflow Automation job with a trigger that links the job to the tag manager event you defined. The job is where you can customize the pop-up appearance.

This is what happens when a website visitor is on a webpage where you've configured a pop-up to appear:

  1. A website visitor performs an action that meets the conditions you established in the tag manager.
  2. The tag manager contacts Digital Experience via APIClosed APIs allow you to automate certain functionality by connecting your CXone system with other software your organization uses..
  3. The workflow automation job linked to the tag manager event that was triggered runs and displays the pop-up to the visitor on the webpage they're visiting.

Advanced Pop-Up Requirements

To use advanced Proactive Chat pop-ups, you must have: 

Tag Manager Preparation

You need to set up your tagClosed A snippet of code placed in the HTML code for a website, which is used by Tag Manager applications. It's different from HTML code tags or tags in social media contexts. manager application to watch for the events and conditions that you want to cause digital pop-ups to appear on your website. In the tag manager, you need to configure: 

  • Trigger Event: The occurrence that the trigger "watches" for as people browser your website.  Tag managers offer a wide variety of options for events that a trigger can watch for. For example, you can choose viewing a certain webpage, clicking certain links, scrolling to certain parts of a page, or the amount of time spent on a page.
  • Trigger Conditions: The specific details about the trigger event. These details help the tag manager decide which occurrences it needs to act on. For example, you can specify how far down the page someone must scroll, the specific links a visitor must click, or how much time they must spend on the page.
  • Tag: The tag contains information about what the tag manager should do when the trigger event happens and the conditions are met. For Digital Experience Proactive Chat pop-ups, you will use a Custom HTML tag that contains a snippet of script code that allows the tag manager application to communicate with Digital Experience. The code to use in the custom HTML is:

<script>

brandembassy(‘executeTrigger’, ‘[TRIGGER ID]’)

</script>

where [TRIGGER ID] is the ID number of the workflow automation trigger you create. You can find the ID in the URL of the trigger when you're viewing it in edit mode in Digital Experience.

You may need to coordinate with a person in your organization who is proficient with the tag manager application. Every tag manager is a little different, so the format for the custom HTML script may need to be adjusted.

Create a Workflow Automation Pop-Up Job

Following the steps for this job allows you to customize a chat pop-up based on a template.

  1. Click the app selector and select ACD.
  2. Go to DFO > Automation Jobs.

  3. Click Add.
  4. Enter a Name that describes what the job does.
  5. From the Action drop-down, select Chat Popup Box.
  6. Enter a Popup box name.
  7. Select the Template that you want to use for the layout of the pop-up box. Examples of each template appear beneath the Template drop-down list.
  8. In the Content section, configure the text and image used in the pop-up. In the text fields, you can enter plain text or you can enter input formatted to use custom fields. Using custom fields can help personalize the experience for your customer.

  9. In the Call to Action section, Select Enable from the Show call to action drop-down if the template you selected supports a call to action and you want to include one in this pop-up. Enter the Call to action text.
  10. In the Design Customization section, configure the appearance of the pop-up's size, background, borders, and text. If you include colors, you don't need to include CSS tags, such as background-color.  You only need to include the color name, HEX number (including the number sign (#)). RGB setting, or other CSS-supported method of defining colors.
  11. In the Position section, select the location on the page from the Position drop-down. You can further modify the location of the pop-up by entering a number of pixels in the Offset X and Offset Y text boxes.
  12. In the Handover section, select up to three custom fields.
  13. Click Save.

Create a Job for HTML Pop-Up

Following the steps for this job allows you to create your own pop-up without being restricted to a template. You can add more customized elements such as buttons, forms, links, and more.

  1. Click the app selector and select ACD.
  2. Go to DFO > Automation Jobs.

  3. Click Add.
  4. Enter a Name that describes what the job does.
  5. From the Action drop-down, select Chat Popup Box Html.
  6. Enter a Popup box name, Custom design, and Custom JS.
  7. In the Position section, select the location on the page from the Positiondrop-down. You can further modify the location of the pop-up by entering a number of pixels in the Offset X and Offset Y text boxes.
  8. Click Save.

Create a Job for Welcome Message with Pop-Up

This job functions slightly different than the others. With this job, rather than just a pop-up, a chat window opens and displays a welcome message.

  1. Click the app selector and select ACD.
  2. Go to DFO > Automation Jobs.

  3. Click Add.
  4. Enter a Name that describes what the job does.
  5. From the Action drop-down, select Chat Welcome Message.
  6. Enter a Welcome Message name and the Main body text. Select up to three custom fields.
  7. Click Save.

Create a Workflow Automation Trigger

  1. Click the app selector and select ACD.
  2. Go to DFO > Automation Triggers.

  3. Click Add Trigger.
  4. Enter a Name for the trigger.
  5. Select Triggered by API as the Event.
  6. From the Data type drop-down list, select Chat Window.
  7. In the Delayed execution field, enter the number of seconds that Digital Engagement should wait after the selected event occurs before firing the trigger. If you want it to happen immediately, enter 0.
  8. If you have folders that organize your triggers, you can select which folder to put this trigger in from the drop-down.
  9. Click Save.

Add Conditions

  1. From the detail page, click Add Condition.
  2. Use the drop-down to select the condition you want. Refer to the table below for a list of conditions available for what you just created.
  3. Click Select.
  4. Some conditions require additional configuration. Refer to the table below for instructions.

Add a Job

  1. From this trigger's detail page, click Add existing job.
  2. Use the drop-down to select this job. The drop-down displays the Name you gave the job, not the Action of the job.
  3. Click Add.
  4. Click Activate.

When your Trigger is fully configured with Conditions and Jobs, click Activate. Then, ensure that you have fully configured your tag manager, including adding the script to the Custom HTML tag.