ClickCease Track HubSpot Conversations Chats - Help Center - WhatConverts

Track HubSpot Conversations Chats

HubSpot Conversations is a free live chat tool that allows you to connect with website visitors in real-time. You can track these chat conversations in WhatConverts by adding a custom script to your website alongside your HubSpot tracking code. This integration triggers a new lead in your dashboard the moment a user starts a chat session.

Note: If you haven't added your WhatConverts tracking script to your website, add your tracking script. If you are using the WhatConverts WordPress Plugin, you will want to deactivate the plugin and place your WhatConverts Tracking Code above your HubSpot tracking code.

Set Up HubSpot Conversations Tracking

To capture lead data from HubSpot Conversations, you must add a snippet of code that listens for the chat initialization event.

Step 1: Add the Tracking Script

Log in to your website editor and add the following script immediately after your HubSpot tracking code:

<script>
    function onConversationsAPIReady() {
        window.HubSpotConversations.on('conversationStarted', function(payload) {
            wc_chat_ypbib("Chat", "New Chat Session");
        });
    };
    if (window.HubSpotConversations) {
        onConversationsAPIReady();
    } else {
        window.hsConversationsOnReady = [onConversationsAPIReady];
    }
</script>

This script triggers a new chat lead in WhatConverts when a visitor starts a chat. The lead will include the marketing data that inspired the user to engage.

Related Topics

Get a FREE presentation of WhatConverts

One of our marketing experts will give you a full presentation of how WhatConverts can help you grow your business.

Schedule a Demo
ready to get marketing clarity?

Grow your business with WhatConverts

14 days free trial Easy setup Dedicated support
G2 Best Results Summer 2025 Badge
G2 Best Relationship Summer 2025 Badge
G2 Best Usability Summer 2025 Badge
G2 Most Implementable Summer 2025 Badge
G2 Momentum Leader Summer 2025 Badge