G R O

How To Track Pipedrive LeadBooster Chat in Google Analytics and Google Ads

  • Home
  • How To Track Pipedrive LeadBooster Chat in Google Analytics and Google Ads
How To Track Pipedrive LeadBooster Chat in Google Analytics and Google Ads
April 30, 2023

Pipedrive is a highly regarded CRM platform that offers various features to optimize business sales processes. One of its most prized assets is Pipedrive LeadBooster Chat, a chatbot that facilitates website lead generation.

The bot is fully automated, making it a valuable tool for businesses seeking to enhance their lead-generation efforts. However, despite its ease of setup, tracking the bot’s interactions as events and conversions in Google Analytics can be challenging, leaving many businesses needing help fully leverage their potential.

Thankfully, the solution is finally available! This article offers a tailor-made script and a comprehensive implementation guide to assist you in tracking LeadBooster Chat interactions in Google Analytics 4 and Google Ads.

Whether you are a seasoned marketer or new to Pipedrive LeadBooster, you will find everything in this comprehensive guide. So, if you want to take your lead generation efforts to the next level, this guide will show you how to track Pipedrive LeadBooster Chat interactions like a pro, utilizing the latest tools and techniques.

Prerequisites

To track your Pipedrive LeadBooster Chat interactions in Google Analytics and Google Ads, there are a few prerequisites you’ll need to have in place.

It may seem overwhelming but don’t worry; we’ll walk you through each step!

Here’s what you’ll need:

  • The Company and Playbook ID of your Pipedrive LeadBooster Chatbot can be found in your Pipedrive LeadBooster account. This information is essential to track your Chat interactions in Google Analytics and Google Ads.
  • An active Google Tag Manager container is a powerful tool that enables you to manage and deploy tracking tags on your website. With Google Tag Manager, you can implement the customized script to track your LeadBooster Chat interactions.
  • A Google Analytics 4 account to track your Chat interactions as events and conversions. If you don’t already have one, you can create a new account for free.
  • A Google Ads account with access to conversion setup if you plan to use Google Ads for tracking conversions.

By utilizing Google Tag Manager, Google Analytics 4, and Google Ads, you can track your LeadBooster Chat interactions effectively. Once you have these prerequisites, you’re ready to move on to the next section and start setting up tracking for your Chatbot. Don’t worry; we’ll guide you through each step of the process!

How To Set Up Google Tag Manager To Start Listening to Leadbooster Events

Assuming that you already have an active Google Tag Manager container, the first step in setting up Pipedrive LeadBooster Chat tracking is to add the tracking script to Google Tag Manager.

Here’s how to do it:

  1. Find your Company ID & Playbook ID.
    To find these, log into your Pipedrive account and navigate to:
    Leads > LeadBooster > Live Chat > Select the Playbook > Installation > Manual installation.
  • 2. Copy the tracking script below and insert your Company ID and Playbook ID where indicated in the script. I made it bold where you need to insert these details.
<script>

  window.pipedriveLeadboosterConfig = {

    base: 'leadbooster-chat.pipedrive.com',

    companyId: XXXXXXX,

    playbookUuid: 'xxxxxxx-xxxxxxx-xxxxxxxxx-xxxxxxx',

    version: 2

  };

  (function() {

    var w = window;

    if (w.LeadBooster) {

      console.warn('LeadBooster already exists');

    } else {

      w.LeadBooster = {

        q: [], 

        on: function(n, h) {

          this.q.push({ t: 'o', n: n, h: h });

        },

        trigger: function(n) {

          this.q.push({ t: 't', n: n });

        }

      };

      w.LeadBooster.on('conversationEnded', function(data) {

        var eventLabel = data.qualified ? 'chat-lead' : 'conversation-ended';

        dataLayer.push({

          'event': 'leadboosterEvent',

          'eventCategory': 'LeadBooster Chat',

          'eventAction': 'Conversation Ended',

          'eventLabel': eventLabel,

          'eventValue': null

        });

      });

      w.LeadBooster.on('opened', function(data) {

        dataLayer.push({

          'event': 'leadboosterEvent',

          'eventCategory': 'LeadBooster Chat',

          'eventAction': 'Opened',

          'eventLabel': 'chat-opened',

          'eventValue': null

        });

      });

      w.LeadBooster.on('closed', function(data) {

        dataLayer.push({

          'event': 'leadboosterEvent',

          'eventCategory': 'LeadBooster Chat',

          'eventAction': 'Closed',

          'eventLabel': 'chat-closed',

          'eventValue': null

        });

      });

    }

  })();

</script>

<script src="https://leadbooster-chat.pipedrive.com/assets/loader.js" async></script>
  1. Open Google Tag Manager and create a new custom HTML tag. Set the trigger to fire on every page.
  2. Paste the tracking script into the custom HTML tag.
  3. Hit preview in Google Tag Manager to test the tracking script.

What this script will do are 2 things:

  1. It will display the chat on your website
  2. It will start ‘listening’ to interactions with the Leadbooster chat

Now that Google Tag Manager can ‘hear’ interactions, we can create triggers and tags based on this.

Once you have added the tracking script to Google Tag Manager, the next step is to create triggers for each of the three main events: manually opened, manually closed, and the conversation ended.

Here’s how to do it:

  1. Create a new trigger for the “Manually Opened” event in Google Tag Manager. Use the “Custom Event” trigger type and set the event name to “opened.”
  2. Create a new trigger for the “Manually Closed” event. Use the “Custom Event” trigger type and set the event name to “closed.”
  3. Create a new trigger for the “Conversation Ended” event. Use the “Custom Event” trigger type and set the event name to “conversationEnded.”
  4. Once you’ve created these triggers, you can use them to send the events to Google Analytics 4 as conversions or events. This will allow you to track the effectiveness of your LeadBooster Chat interactions and optimize your lead generation efforts.

That’s it! With these steps, you can track Pipedrive LeadBooster Chat interactions in Google Analytics and Google Ads, allowing you to gain valuable insights into your customers’ behavior and preferences.

How To Set Up Triggers for Leabooster Opened, Closed, and Conversation Ended Events

Now that you have added the Pipedrive LeadBooster Chat tracking script and created a custom tag to send events to Google Analytics 4, the next step is to create triggers for each of the three main events: manually opened, manually closed, and the conversation ended.

  1. Create a custom data layer variable.
  • To do this, go to “Variables” in Google Tag Manager, scroll down and click “New,” and choose “Data Layer Variable.”
  • Name the variable “Leadbooster Data Layer Var.”
  • Set the Data Layer Variable name to “eventAction”.
  1. Create a custom trigger
  • Go to “Triggers” in Google Tag Manager, click “New,” and choose the “Custom Event” trigger type.
  • Fill in the trigger as follows:
    Trigger name: Leadbooster Opened
    Event name: leadboosterEvent
    This trigger fires on Some Custom Events with ‘eventAction’ equals ‘Opened’

Do these same steps again for the “Closed” with the following trigger configuration:

  • Trigger name: Leadbooster Closed
  • Event name: leadboosterEvent
  • This trigger fires on Some Custom Events with ‘eventAction’ equals ‘Closed’

And most importantly, the “Conversation Ended” event with the following trigger configuration:

  • Trigger name Leadbooster Lead
  • Event name: leadboosterEvent
  • This trigger fires on Some Custom Events with ‘eventAction’ equals ‘Conversation ended’

By creating these custom triggers, you can track each event as it occurs in Google Analytics You can use this data to gain insights into the effectiveness of your LeadBooster Chat interactions and optimize your lead generation efforts.

How To Set Up Pipedrive Leadbooster Events and Conversions in Google Analytics 4

Now that you have set up the tracking script and triggers in Google Tag Manager, the next step is to create GA4 events for the “Opened”, “Closed”, and “Conversation Ended” events.

While testing in the Google Tag Manager preview mode, you should be able to see these events come in the real-time report.

To check this:

  1. Log in to google analytics 4
  2. Navigate to ‘reports’ on the left-hand side menu
  3. From the new menu items that appear, click on “Real-time”
  4. Scroll a bit down to the card that is titled “Event count by event name”

You should see the events coming in live while testing in Google Tag Manager preview mode.

To create the events and conversions, you will need some patience for the events to show up in Google Analytics 4. This can take up to 72 hours but usually show up sooner.

To see the events – which can then be marked as conversions – follow the following steps:

  1. Log into your Google Analytics 4 account.
  2. Navigate to “Admin” down in the left-hand menu.
  3. Under the ‘create property column’ click on ‘events’
  4. You can flip the switch to track one or all these events as conversions.

By creating these GA4 events, you can track the effectiveness of your LeadBooster Chat interactions and optimize your lead generation efforts in Google Analytics 4.

The final section will cover how to set up conversion tracking in Google Ads for your LeadBooster Chat interactions.

How To Set up Google Ads To Track Pipedrive Leadbooster Chat Conversions

Now that you have set up tracking for your Pipedrive LeadBooster Chat interactions in Google Tag Manager and Google Analytics 4, the next step is to set up conversion tracking in Google Ads.

To set up conversion tracking, follow these steps:

  1. Log into your Google Ads account.
  2. Navigate to “Tools & Settings” and select “Conversions”.
  3. Click the “+” button to create a new conversion action.
  4. Choose “Website” as the conversion source, and scan your URL.
  5. Scroll down and click “+ Add a conversion action manually”.
  1. Fill in the details for your conversion, including the conversion name and value.
  2. Set a fixed value for your conversion to use in your target ROAS strategy within Google Ads. This way, you can prioritize specific conversions over others.
  3. After you’ve completed these steps, Google Ads will give you the option to implement the conversion tracking in Google Tag Manager.
  4. Create a new “Google Ads Conversion Tracking” tag in Google Tag Manager.
  5. Fill in the Conversion ID and Conversion Label generated in Google Ads.
  6. Connect the tag to the trigger for the “Conversation Ended” event.

Following these steps, you can track your Pipedrive LeadBooster Chat interactions as conversions in Google Ads. Remember that the conversions may take up to 72 hours to be correctly tracked.

With these steps complete, you should now have a fully functional Pipedrive LeadBooster Chat tracking system, allowing you to gain valuable insights into your lead generation efforts and optimize your marketing campaigns accordingly.

Summary Of The Steps Needed To Track Leadbooster Events & Conversions

In conclusion, tracking Pipedrive LeadBooster Chat in Google Analytics and Google Ads is crucial for businesses looking to optimize their lead-generation efforts. By implementing the tracking setup outlined in this article, you can gain valuable insights into your chatbot interactions and use that data to improve your marketing campaigns.

To summarize, the steps involved in tracking Pipedrive LeadBooster Chat in Google Analytics and Google Ads include:

  1. Setting up Google Tag Manager
  2. Adding the Pipedrive LeadBooster Chat listener script
  3. Creating a custom data layer variable, trigger, and tags for LeadBooster Chat events
  4. Setting up Google Analytics 4 events for opened, closed, and conversation ended
  5. Setting up Google Ads conversion tracking for closed conversations

The benefits of tracking this data are significant, as it allows you to optimize your lead generation efforts and improve your marketing campaigns. By tracking your LeadBooster Chat interactions, you can gain insights into the number of chats initiated, the number of chats that resulted in a qualified lead, and the overall conversion rate.

To take your lead generation efforts to the next level and get the most out of your Pipedrive LeadBooster Chatbot, ask the companies you work with to implement this tracking tool on their website. With accurate tracking, you can gain valuable insights and optimize your chat interactions to drive conversions and grow your business!