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 and agents to interact, such as 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 First Omnichannel, 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 First Omnichannel, 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 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 First Omnichannel via APIClosed APIs allow you to automate certain functionality by connecting your CXone system with other software your organization uses..
  3. The Digital First Omnichannel 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 First Omnichannel 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 First Omnichannel 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 First Omnichannel. The code to use in the custom HTML is:

<script>

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

</script>

where [TRIGGER ID] is the ID number of the Digital First Omnichannel 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 First Omnichannel.

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 these steps allows you to customize a chat pop-up based on a template.

  1. In the Digital First Omnichannel portal, click Settings Automation Jobs.

  2. Click Add.

  3. Enter a Name for the job and select Chat Popup Box from the Action drop-down.

  4. In the Parameters section, enter a Popup box name.

  5. 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.

  6. In the Content section, configure the text and image used in the pop-up.

  7. 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.

  8. In the Design Customization section, customize 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.

  9. If you want to define where the pop-up window appears, 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.

  10. If you have defined custom fields in Digital First Omnichannel that you want to include in the pop-up, select a field from one or more of the Custom Field drop-downs and enter the text that you want Digital First Omnichannel to use for the field.
  11. Click Save.

Create a Job for HTML Pop-Up

Following these steps 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. In the Digital First Omnichannel portal, click Settings Automation Jobs.

  2. Click Add.

  3. Enter a Name for the job and select Chat Popup Box Htmlfrom the Action drop-down.

  4. In the Parameters section, enter a Popup box name, Custom design, and Custom JS.

  5. If you want to define where the pop-up window appears, 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.

  6. 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. In the Digital First Omnichannel portal, click Settings Automation Jobs.

  2. Click Add.

  3. Enter a Name for the job and select Chat Welcome Message from the Action drop-down.

  4. In the Parameters section, enter a Welcome Message name.

  5. In the Content section, enter the text for the welcome message.

  6. In the Handover section, if you have defined custom fields in Digital First Omnichannel that you want to include in the pop-up, select a field from one or more of the Custom Field drop-downs and enter the text that you want Digital First Omnichannel to use for the field.

  7. Click Save.

Create a Workflow Automation Trigger

  1. Click Settings Automation Triggers.
  2. Click Add Trigger.
  3. Enter a Name for the trigger.
  4. Select Triggered by API as the Event.
  5. From the Data type drop-down list, select Chat Window.
  6. If you want Digital First Omnichannel to delay the appearance of the pop-up by an additional amount of time, enter the number of seconds you want it to wait in Delayed execution.
  7. If you use folders to organize your workflow automation triggers, select the folder you want to store this trigger int from the Folder drop-down.
  8. Click Save.
  9. On the Triggers page, locate the trigger you just created and click Jobs.
  10. Select a job from the drop-down list and click Add. Return to the Triggers page.
  11. If you want to add conditions to the trigger, click Conditions for the trigger you created, then select the Probability of execution from the drop-down list and click Save.

  12. Click Activate. After you activate the trigger, ensure that you have fully configured your tag manager, including adding the script to the Custom HTML tag.