CIA Chat Scripts

This is a guide for adding CIA scripts to your website.


The script itself should be in the form:

<script src=""></script>

The script can be added directly to the HTML or via a tag management system.

Interaction API

To start an interaction (e.g. web chat session) from an existing website element, you can use the Talkative Engage API. This allows you to create triggers and logic and embed them within your website, as opposed to initiating Talkative functionality within the default Talkative UI.

The TalkativeApiClass provides basic information about the interaction, QOS and feature initiation methods.

Class Methods


TalkativeEngageApi.readyCallback() Customer specified callback which is called once all checks have been performed and the software is ready to begin. Returns Object which contains qos information.


TalkativeEngageApi.isActive() Returns true or false based on whether there is an active interaction.


TalkativeEngageApi.startChat() This method allows you to start a chat session.


TalkativeEngageApi.startCobrowse() This method allows you to start a cobrowsing session.


TalkativeEngageApi.startEmail() This method will open the email form.


TalkativeEngageApi.startVoice() This method allows you to start a web call session.


Below is a real life example of how the the Talkative functionality can be embedded into existing website elements:

    <button onclick="TalkativeEngageApi.startVoice()">Call us now!</button>
    <button onclick="TalkativeEngageApi.startChat()">Start a chat with an expert!</button>

readyCallback can be setup by declaring the function above the Talkative Engage Tag. For example:

    window.TalkativeEngageApi = {
        readyCallback: function (results) {
            console.log('We are ready to begin!', results.qos);


Talkative can be tracked within Google Analytics (GA). If your GA scripts are added directly into the HTML of the page, you don't need to do anything. If your GA scripts are added via Google Tag Manager (GTM), you will need to follow this guide to create a trigger within GTM:

Last updated on 12th May 2021