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_eventKey variable
actionZoho 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
| action | Description |
|---|---|
chat opened | Widget opens |
chat closed | Widget closes |
visitor identified | Visitor email/name captured |
chat started | Conversation initiated |
message sent | Visitor sends message |
message received | Agent replies |
zobot triggered | Zobot automation starts |
call initiated | Click-to-call started |
appointment booked | Meeting scheduled |
chat ended | Session 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 Event | Condition | Parameters |
|---|---|---|
chat_widget_open | action = chat opened | chat_platform: "zoho_salesiq" |
generate_lead | action = visitor identified |