Track Drift Chats

Drift is a conversational marketing and sales platform that provides live chat, chatbots, and customer engagement tools. WhatConverts can track Drift chat conversations by adding a simple JavaScript snippet to your website, which automatically captures new chat sessions along with the marketing attribution data that brought the visitor to your site.

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 Drift Chat Integration Code.

Set Up Drift Chat Tracking

To track Drift chat conversations with WhatConverts:

  1. Log in to the website you would like to track your Drift Chats on.
  2. Add the following code after the Drift Chat JavaScript Installation Code:

    javascript

    <script>
    drift.on('ready', function(api) {
        drift.on('startConversation', function() {
            wc_chat_ypbib("Chat", "New Chat Session");
        });
    });
    </script>
    
  3. Save your changes.

This will trigger a new Chat lead in WhatConverts when someone starts a chat. You will see a chat lead in your WhatConverts dashboard with the information that a new chat was received and the marketing data that inspired the user to start the chat.

Note: It can take a few minutes after a chat ends to show up in your WhatConverts dashboard.

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