Skip to main content

Zoho SalesIQ GTM Event Listener

Track Zoho SalesIQ chat interactions in GTM. Monitor visitor identification, chat start, messages, call events, and Zobot interactions with action variable.

zohosalesiqchatcrmgtmga4supportsales

Event fired

zoho_sales_IQ_event

Key variable

action

Zoho Sales IQ

Overview

Zoho SalesIQ is a customer engagement platform with live chat, visitor tracking, and Zobot (AI chatbot) features. It integrates with Zoho CRM natively. This listener hooks into SalesIQ's JavaScript API.

Event fired: zoho_sales_IQ_event Variable: action

Tracked Events

actionDescription
chat openedWidget opens
chat closedWidget closes
visitor identifiedVisitor email/name captured
chat startedConversation initiated
message sentVisitor sends message
message receivedAgent replies
zobot triggeredZobot automation starts
call initiatedClick-to-call started
appointment bookedMeeting scheduled
chat endedSession closed

Installation

html
<!-- GTM Custom HTML Tag: Zoho SalesIQ Listener -->
<script>
(function() {
  function salesiqPush(action, extra) {
    window.dataLayer = window.dataLayer || [];
    window.dataLayer.push(Object.assign({
      'event': 'zoho_sales_IQ_event',
      'action': action
    }, extra || {}));
  }

  var initSalesIQ = function() {
    if (typeof window.$zoho === 'undefined' || !$zoho.salesiq) return;
    
    $zoho.salesiq.ready = function() {
      $zoho.salesiq.visitor.info(function(data) {
        if (data.email) salesiqPush('visitor identified', { visitorEmail: data.email });
      });
    };

    $zoho.salesiq.chatopen = function() { salesiqPush('chat opened'); };
    $zoho.salesiq.chatclose = function() { salesiqPush('chat closed'); };
    $zoho.salesiq.chatclosed = function() { salesiqPush('chat ended'); };
    $zoho.salesiq.chatwindowminim = function() { salesiqPush('chat closed'); };
    $zoho.salesiq.messagesubmit = function(embed, visitor) {
      salesiqPush('message sent');
    };
    $zoho.salesiq.replyreceive = function(embed, visitor) {
      salesiqPush('message received');
    };
    $zoho.salesiq.callongoing = function() { salesiqPush('call initiated'); };
  };

  window.addEventListener('load', initSalesIQ);
})();
</script>

Data Layer Output

json
{
  "event": "zoho_sales_IQ_event",
  "action": "chat started"
}

Trigger Configuration

Trigger Type: Custom Event Event Name: zoho_sales_IQ_event

GA4 Mapping

GA4 EventConditionParameters
chat_widget_openaction = chat openedchat_platform: "zoho_salesiq"
generate_leadaction = visitor identifiedemail

Related Listeners