Oct8ne custom widget design

Oct8ne custom widget design

WHAT IS THE EMBED LINK?

Developers can create custom links to access the Oct8ne coviewer. This allows you to have more flexibility when adding visuals to your website to make it attractive and encourage your potential customers to contact agents for advice and help during the buying process. 

 

When agents, whether people or bots, are connected, all DOM elements marked with the CSS class "oct8ne-widget-on" will be visible.  There is no limitation on the type of HTML element or its location on the page — this class can be applied to images, HTML blocks such as DIV or SPAN, or any other type of tag and can be placed where they look best on the web.  The following code shows such an element and can be customized by modifying the styles inline:

 

<body>

   ...

   <div class="oct8ne-widget-on"
        style="display: none;

         position: fixed; top: 0; right: 0; z-index: 9999">

      Talk to an expert

   </div>

   ...

</body>

 

When the user clicks on any of these items, the Oct8ne  coviewer will open to start a chat with the agent that is currently available.  

 

 



 

Note: Make sure these elements are in invisible mode on the page using the line styles and CSS sheets. You should set its style to display: none.  Oct8ne will only show them if it detects connected agents.

 

Similarly, when there are no agents connected, Oct8ne will display all elements in which the CSS class "oct8ne-widget-off" appears.  The following code contains an example of an implementation of this link on the page and its customization through the stylesheet:

HTML:

<body>

   ...

   <div class="oct8ne-widget-off" id="no-agents">
       <p>Email us
          <small>We'll contact you asap</small>
       </p>
   </div>

   ...

</body>

CSS:

#no-agents {

   display: none;

   position: fixed;

   z-index: 9999;

   right: 0;  

   top: 0;

}




















 

Note: Make sure these elements are in invisible mode on the page using the line styles and CSS sheets. You need to set its style to display:none.  Oct8ne will only display them if it detects UNAVAILABLE agents.


If a user clicks on these items, a contact form will open. All of these elements can coexist within the same page so that both classes can display one message or the other depending on whether or not the agents are available. 

 

<body>

   ...

   <div class="oct8ne-widget-on" style="display: none">
      Talk to an expert </div>

   <div class="oct8ne-widget-off" style="display: none">

      Email us

   </div>

   ...

</body>

 

 

These classes can also be combined into the same element to make it visible regardless of whether the agents are available or not, with the same text and functionalities: 

 

<body>

   ...

   <div class="oct8ne-widget-on oct8ne-widget-off">

     Talk to us! 

   </div>

   ...

</body>

 

 

 

 

 

 

 

Note: In order for this development not to conflict with the icon that Oct8ne provides by default, you will need to turn off the default widget from the Oct8ne control panel. In the Settings > Engagements section > Livechat

DISTINGUISH BETWEEN PHYSICAL AGENTS (people) AND BOTS

If we are interested in customizing the message and behavior based on the availability of agents, distinguishing between people and bots, Oct8ne provides additional CSS classes for this.

 

The following table summarizes these classes, as well as when Oct8ne will make elements that use them visible:

 

CSS Class

Shown only when...

oct8ne-widget-agents-on

Physical agents (people) are available

oct8ne-widget-agents-off

There is no availability of physical agents (people)

oct8ne-widget-bots-on

Bots are available

oct8ne-widget-bots-off

No bot availability


Note: If you use any of these classes, make sure these elements are in invisible mode on the page using the CSS line styles and sheets. You need to set its style to display:none. 

The following block of code shows an example of using these classes to display different messages depending on the availability of people or bots:

 

<body>

   ...

   <div class="oct8ne-widget-agents-on" style="display: none">

      Talk to a sales person

   </div>

 

   <div class="oct8ne-widget-bots-on" style="display: none">

      Talk to our bot! 

   </div>

   ...

</body>

 

Please contact support@oct8ne.com if you have any questions.



    • Related Articles

    • Oct8ne dynamic widget

      How to configure the OCT8NE DYNAMIC widget These instructions are intended for people with a minimum knowledge of web programming language: HTML and CSS. If this is not your case, we recommend that you contact your developers and provide them with ...
    • Oct8ne API for custom CSM integration

      Oct8ne API documentation API version 2.4 Contents 1. Introduction 2. Architecture 3. Overview 3.1. Downloading and installing plug-ins and extensions 3.2. Registering as a developer and enabling the platform 3.3. Inserting the oct8ne widget 3.4. ...
    • Customised or personalised triggers

      Oct8ne triggers offer the possibility of interacting with the visitor when specific circumstances previously defined in the ‘Triggers’ section of the Oct8ne dashboard (for example: time on the page or a specific URL address) occur. But sometimes ...
    • Integration with Google Analytics version 4 (GA4)

      Introduction Oct8ne allows direct integration with Google Analytics version 4 (GA4) through event submission. These provide vital information about the interactions that take place within Oct8ne, which you can check in your Google Analytics ...
    • Bot Instruction Manual for Web and Messaging

      TABLE OF CONTENTS 1. OVERVIEW 1.1. Flow Designer 2. WEB BOT: GETTING STARTED 2.1. Create a conversation 2.2. Specific tools in the conversation designer 2.3. Turning the Bot on and off 3. BOT MESSAGING: GETTING STARTED 3.1. Create a conversation 3.2. ...