Hide Comments

Proactive Chat Offering With Timer

If you have pages on your website where users need help most often, you can offer chat proactively after a set amount of time has elapsed. For instance, if a user sits on a page for one minute without taking action it could indicate they have a question about that particular page.

Since iService customer chat forms are HTML, you can use JavaScript to generate custom behaviors. The example below uses a timer to load an iFrame containing the Chat Now button. If there are no agents available, the iService form can either load a Leave a Message form or just load a transparent blank form that will not be seen by the website visitor.

There are many ways to trigger this behavior in JavaScript, but one example is shown below.

TimedPopUp

 

The code elements are displayed below so they can be easily copied and pasted into your HTML page.

Style

.frame{ display: none; }

 

Script

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>

<script type="text/javascript"> $(window).load(function() { setTimeout(function(){ $('.frame').css('display','block'); }, 10000); }); </script>

 

Div and iFrame (note: the dimensions of the iFrame src will be  your iService form that pops up

<div class="frame">

<iframe src="https://1to1.iservicecrm.com/f/83" style="position:fixed; left:0; z-index: 10000; width:55px; bottom:0; padding:0; margin:0;" height="220" frameBorder="0" allowtransparency="true"></iframe>

 

(c) 2012-2016 One-to-One Service.com, Inc.