Welcome To Our Customer Service Portal


How to add content in quotation within an article?

1. Go to Knowledge => All articles, and create a new article, or choose to edit an existing one.

2. Mark the content you wish to place in quotation and click on the quotation button.

3. Navigate to Guided Journeys => Touchpoints => Choose "Personalize" under the floating widget, or embedded widget.

4. Within the widget configuration settings go to the "Advanced" tab.

5. Enable the "Actionable block quotes in answer text" field.

6. On the page the widget is implemented, it is possible to add javascript to the widget that performs an action when a user click on the contact inside the quotation marks.

Please refer to the script below:

 

<script>
// Create IE + others compatible event handler
    var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
    var eventer = window[eventMethod];
    var messageEvent = eventMethod == "attachEvent" ? "onmessage" : "message";
 
    // Listen to message from child window
    eventer(messageEvent, function (e)
    {
        if (e.data && e.data.indexOf('subject=event') != -1 && e.data.indexOf('type=quote') != -1)
        {
            var args = e.data.split("&");
            var dictionary = {};
            for (var i = 0; i < args.length; i++)
            {
                if (args[i].split("=").length > 1)
                    dictionary[args[i].split("=")[0]] = args[i].split("=")[1];
            }
            dictionary["query"] = ISQ.Tools.Base64.decodeString(dictionary["query"]);
            dictionary["text"] = ISQ.Tools.Base64.decodeString(dictionary["text"]);
 
            //console.log(dictionary);
        }
    }, false);
</script>