LeadBooster chat tracking with GTM or GA
Hey,
Is it possible to track LeadBooster chat interactions with Google Tag Manager or Google Analytics?
Thanks in advance!
Comments
-
At the moment, no.
1 -
That would be really important, is impossible to run paid traffic to a landing page with Pipedrive Leadbooster without tracking the conversions.. without this feature it makes no sense for any business that invest in paid traffic to use Pipedrive Leadbooster
1 -
It IS possible but it requires editing the Leadbooster script so it requires knowing how to code JavaScript.
Someone who knows JavaScript can edit the script to manually push an event to the GTM datalayer, or to send an event to Google Ads, or some other tracking service. You may need to find a coder to help.
As a starting point, the below code will push events to Plausible Analytics. For sending events to GTM you need to use dataLayer.push as explained here: https://www.analyticsmania.com/post/datalayer-push/ Maybe if you send the below example, your LeadBooster script, and that link to a developer, they can make the needed changes for you.
<script>window.pipedriveLeadboosterConfig = { base: 'leadbooster-chat.pipedrive.com', companyId: YOUR COMPANY ID HERE!!!, playbookUuid: YOUR ID HERE!!!, 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) { if (data.qualified) { plausible('chat-lead') } else { plausible("conversation-ended"); } }); w.LeadBooster.on('opened', function(data) { plausible('chat-opened') }); w.LeadBooster.on('closed', function(data) { plausible('chat-closed') }); } })();</script><script src="https://leadbooster-chat.pipedrive.com/assets/loader.js" async></script>
0