<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords in Reporting &amp; Analytics</title>
    <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/368970#M1909</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/2599"&gt;@derekcavaliero&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used both snippets below to push a GA event whenever a conversation is started, but neither seem to work. Do you know what I'm doing wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;//Option A
&amp;lt;script type="text/javascript"&amp;gt;
   window.HubSpotConversations.on('conversationStarted', payload =&amp;gt; { ga('send', 'event', 'Beacon', 'chat-started', 'Hubspot'); });
&amp;lt;/script&amp;gt;

//Option B
&amp;lt;script type="text/javascript"&amp;gt;
window.HubSpotConversations.on('conversationStarted', function(payload){ ga('send', 'event', 'Beacon', 'chat-started', 'Hubspot'); });
&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 09 Sep 2020 22:39:06 GMT</pubDate>
    <dc:creator>jamesthrasher</dc:creator>
    <dc:date>2020-09-09T22:39:06Z</dc:date>
    <item>
      <title>Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/208640#M776</link>
      <description>&lt;P&gt;Does anyone have any solutions/suggestions for recording live chat conversions in Analytics/Adwords? Can I record contacts created from live chat in Analytics and then create a goal that could translate to a conversion in Adwords?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We are using the Hubspot chat tool.&lt;BR /&gt;&lt;BR /&gt;We would like to use chat on our ppc landing pages, but because we cannot record chats and conversions, we have not yet set them up.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 12:55:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/208640#M776</guid>
      <dc:creator>ErinGerg</dc:creator>
      <dc:date>2018-09-26T12:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/209034#M778</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/71578"&gt;@ErinGerg&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which chat app are you using?&amp;nbsp; HubSpot or another tool?&amp;nbsp; We use Comm100 for Chat and they have an off-the-shelf stock integration for Google Analytics.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Trevor&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 12:13:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/209034#M778</guid>
      <dc:creator>trevordjones</dc:creator>
      <dc:date>2018-09-26T12:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/209045#M779</link>
      <description>&lt;P&gt;Hi Trevor,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry if I was not clear. We are using the Hubspot chat tool, and it does not have an integration. I do not believe that we are currently open to changing tools as we are working on a lead tracking process for the client.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Erin&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 12:53:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/209045#M779</guid>
      <dc:creator>ErinGerg</dc:creator>
      <dc:date>2018-09-26T12:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/209064#M780</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/71578"&gt;@ErinGerg&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be able to use event tracking in Google Analytics along with jQuery to do this.&amp;nbsp; More on that in this thread:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/Marketing-Integrations/Google-Analytics-Event-Tracking/td-p/29831" target="_blank"&gt;https://community.hubspot.com/t5/Marketing-Integrations/Google-Analytics-Event-Tracking/td-p/29831&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Trevor&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 14:03:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/209064#M780</guid>
      <dc:creator>trevordjones</dc:creator>
      <dc:date>2018-09-26T14:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/211710#M805</link>
      <description>&lt;P&gt;Hi Trevor,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We cannot apply event tracking to the chat code because we do not have access to Hubspot chat's code. We just turn it on on the landing page.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 14:06:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/211710#M805</guid>
      <dc:creator>ErinGerg</dc:creator>
      <dc:date>2018-10-15T14:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/268111#M1170</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/71578"&gt;@ErinGerg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently looked into this for our agency as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I wasn't able to track when a visitor actually sent a message. What I was able to do was implement interaction tracking on the chat window itself using the following code (note that this has some customizations for our Google Tag Manager setup).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;script&amp;gt;
window.addEventListener( 'message', function(event) {
  if ( event.origin !== 'https://app.hubspot.com' )
    return false;
  
  var eventData = JSON.parse(event.data);
  if ( eventData.type == 'open-change' ) {
  	dataLayer.push({
      'event': 'Send Event',
	  'event_category': 'Live Chat',
      'event_action': ( eventData.data ) ? 'Opened Chat' : 'Closed Chat',
      'event_label': eventData.uuid,
      'event_value': 10
    });
  }
});
&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;That will push a dataLayer event for opened/closed click interaction, which isn't perfect, but it's a start.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HubSpot needs to implement a window message event for "message sent" so we can truely know when a chat has been started (not just assuming a click = a conversation).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 13:58:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/268111#M1170</guid>
      <dc:creator>derekcavaliero</dc:creator>
      <dc:date>2019-05-02T13:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/268219#M1171</link>
      <description>&lt;P&gt;&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, digging into this further, tracking when the "conversation is started" is possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;script&amp;gt;
window.addEventListener( 'message', function(event) {
  if ( event.origin !== 'https://app.hubspot.com' )
    return false;
  
  var eventData = JSON.parse(event.data);
  var eventAction = false;
  
  switch( eventData.type ) {
    case 'closed-welcome-message':
      eventAction = 'Closed - Welcome Message';
    break;
    case 'open-change':
      eventAction = ( eventData.data ) ? 'Opened - Window' : 'Closed - Window';
    break;
    case 'external-api-event':
      if ( eventData.data.eventType = 'conversationStarted' )
      	eventAction = 'Conversation Started';
    break;
    default:
      eventAction = false;
    break;
  }
  
  if ( eventAction ) {
    dataLayer.push({
      'event': 'Send Event',
      'event_category': 'Live Chat',
      'event_action': eventAction,
      'event_label': eventData.uuid,
      'event_value': 10
    });
  }
  
});
&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, there isn't a way to track when a user provides their email address - which is really when you would truely count a conversation as a "lead" for analytical purposes. So this above script would track the following (assuming you use Google Tag Manager):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Users who open/close the chat window&lt;/LI&gt;&lt;LI&gt;Users who close the chat welcome message (if you're using one)&lt;/LI&gt;&lt;LI&gt;Users who start a new conversation&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 02 May 2019 20:39:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/268219#M1171</guid>
      <dc:creator>derekcavaliero</dc:creator>
      <dc:date>2019-05-02T20:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/278487#M1291</link>
      <description>&lt;P&gt;Honestly Hubspot, Can you just build a Google Analytics integration already?&amp;nbsp; Gravity forms has one.&amp;nbsp; Basically every platform has realized Google is the statistics of record for the Internet.&amp;nbsp; Let's play nice with google analytics please.&amp;nbsp; It would be a huge gain for the platform.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 19:33:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/278487#M1291</guid>
      <dc:creator>jschroeffel</dc:creator>
      <dc:date>2019-07-02T19:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/282029#M1337</link>
      <description>&lt;P&gt;I agree completely. We have our Google&amp;nbsp; Ads campaigns based partially around using chat activity as an indicator for number of conversions and conversion value, pulling that information from Google Analytics. It seems that isn't really possible now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure why HubSpot chat doesn't really seem to be showing ANY events in Google Analytics. This seems like a major oversite. At least give us the data on what is happening by triggering events.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 21:13:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/282029#M1337</guid>
      <dc:creator>KarlZimm</dc:creator>
      <dc:date>2019-07-22T21:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/283584#M1349</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I have met your post and we have managed to send sales to Google Ads, Analytics and send click and lead event with the HubSpot chat.&lt;/P&gt;&lt;P&gt;I am not a technician but it still helps you with your development team.&lt;/P&gt;&lt;P&gt;1. We collect variables such as clientid and gclid in each user's session cookie (client with Google Analytics and Google Ads, and gclid to attribute sales to campaigns in Ads).&lt;/P&gt;&lt;P&gt;2. You must save this information as a contact property in HubSpot. And save it as a hidden field in a form.&lt;/P&gt;&lt;P&gt;3. With this information you can generate a Webhook that you can send to the different platforms by API in Google Ads (complicated by Google documentation) and Measurement protocol by Google Analytics (I do not know if there is another way but surely this is the easiest ).&lt;BR /&gt;In this way you can send the information in a workflow and webhook when there is a sale, lead or any action (for example).&lt;/P&gt;&lt;P&gt;4. For the chat, we have recently been able to send all user information. To do this you must activate the possibility of creating contacts in HubSpot without the need for email. Then after a chat action event (click or conversation), send the information via the HubSpot API and create a form with the user token to associate the Chat conversation and the information collected with the contact. (&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Create-contact-from-user-token/td-p/237101" target="_self"&gt;look this post&lt;/A&gt;)&lt;BR /&gt;Then in the logic of the chat you can send a webhook to Google Analytics or Google Ads to send the event.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In short, this is what we have implemented to be able to collect and send events with the integral and measured funnel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your post and requirement has time, but I hope it helps you or someone else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 05:16:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/283584#M1349</guid>
      <dc:creator>PolFisas</dc:creator>
      <dc:date>2019-07-31T05:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/286618#M1360</link>
      <description>&lt;P&gt;Hi there, Could you walk me through the settings needed with GTM in order set correctly this tag?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 23:38:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/286618#M1360</guid>
      <dc:creator>legura</dc:creator>
      <dc:date>2019-08-18T23:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/286709#M1361</link>
      <description>&lt;P&gt;Sure, DM me and I can help you.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:49:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/286709#M1361</guid>
      <dc:creator>derekcavaliero</dc:creator>
      <dc:date>2019-08-19T12:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/290113#M1398</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to install de chat tracking in Google Tag Manager?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 17:16:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/290113#M1398</guid>
      <dc:creator>AdRockers</dc:creator>
      <dc:date>2019-09-06T17:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/293480#M1433</link>
      <description>&lt;P&gt;derekcavaliero's code works really well. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what we did to install via GTM and start writing data to GA. At a high level, the flow runs like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="formatted_content"&gt;Event Tracking &amp;gt; GTM Event &amp;gt; GTM Variables &amp;gt; GTM Trigger &amp;gt; GA&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Add derekcavaliero's code using a custom HTML tag, and make sure it fires on all pages.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-09-26 at 9.11.27 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/20170i64420DFA9B1747A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-09-26 at 9.11.27 AM.png" alt="Screen Shot 2019-09-26 at 9.11.27 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Next, register each data layer from the code (&lt;FONT face="courier new,courier"&gt;event, event_category, event_action, event_label, event_value&lt;/FONT&gt;) as a user-defined variable.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-09-26 at 9.13.34 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/20171iF7EB1CA8C4AEF468/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-09-26 at 9.13.34 AM.png" alt="Screen Shot 2019-09-26 at 9.13.34 AM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;3. Here's a sample:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-09-26 at 9.14.30 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/20172i7F67C21D8E7D629F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-09-26 at 9.14.30 AM.png" alt="Screen Shot 2019-09-26 at 9.14.30 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;Next, visit "Triggers" and register the event name from the code. In our case, we're using: "&lt;FONT face="courier new,courier"&gt;Widgets&lt;/FONT&gt;." derekcavaliero's default is "&lt;FONT face="courier new,courier"&gt;Send Event&lt;/FONT&gt;."&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-09-26 at 9.17.42 AM.png" style="width: 856px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/20173i0543E3AB8F413E69/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-09-26 at 9.17.42 AM.png" alt="Screen Shot 2019-09-26 at 9.17.42 AM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Here's our example:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-09-26 at 9.21.06 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/20174iDFCE03B483A871A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-09-26 at 9.21.06 AM.png" alt="Screen Shot 2019-09-26 at 9.21.06 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;5. Finally, go back to "Tags" and register a new GA tag. Include the event variables and fire on the trigger you created in step 3.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-09-26 at 9.23.12 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/20175i8AD507F8BEA9DC44/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-09-26 at 9.23.12 AM.png" alt="Screen Shot 2019-09-26 at 9.23.12 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. After you publish the update, you'll see the events in Google Analytics:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-09-26 at 9.26.07 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/20176i6A845F6EA4046364/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-09-26 at 9.26.07 AM.png" alt="Screen Shot 2019-09-26 at 9.26.07 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see this solution live on our &lt;A title="Marketing Intelligence Solution | GoConvert" href="https://www.letsgoconvert.com/" target="_self"&gt;marketing intelligence solution&lt;/A&gt;'s &lt;SPAN&gt;&lt;A title="Marketing In China | GoConvert" href="https://www.letsgoconvert.com/marketing-to-china/" target="_self"&gt;marketing in China&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A title="Marketing Benchmarks | GoConvert" href="https://www.letsgoconvert.com/digital-marketing-benchmarks/" target="_self"&gt;marketing benchmarks&lt;/A&gt; pages. T&lt;A href="https://chrome.google.com/webstore/detail/gtmga-debug/ilnpmccnfdjdjjikgkefkcegefikecdc?hl=en" target="_self"&gt;his Chrome extension&lt;/A&gt; can be helpful for previewing events.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 16:45:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/293480#M1433</guid>
      <dc:creator>oqm4</dc:creator>
      <dc:date>2019-09-26T16:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/305323#M1512</link>
      <description>&lt;P&gt;Dear oqm4,&lt;/P&gt;&lt;P&gt;Thank you for sharing your implementation. I've implemented your way accordingly and it works. However, I am facing one issue, which is: It is actually tracking the event "Conversation started" multiple times - once I sent a chat message, once the agent replies and then continuing from every other message.&lt;/P&gt;&lt;P&gt;Is there any way on how to reduce it to counting this event only once, as a conversation can only be started once? I've tried firing the tag only once per page within GTM, but it doesn't work. I would certainly appreciate any kind of help.&lt;/P&gt;&lt;P&gt;I know there are unique events within GAnalytics, but if you set it up as conversion in GA, how to make it count only once?&lt;/P&gt;&lt;P&gt;With kind regards, Christian&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 16:23:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/305323#M1512</guid>
      <dc:creator>chris_wcptjtj</dc:creator>
      <dc:date>2019-12-03T16:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/317414#M1597</link>
      <description>&lt;P&gt;conversationstarted event is not working for me. Anyone else with same issue?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 05:23:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/317414#M1597</guid>
      <dc:creator>kaimaan</dc:creator>
      <dc:date>2020-02-07T05:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/318387#M1611</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt; Apparently the trigger isn't very clear and could be due to newer ways to set up listeners for chat events.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am trying to reconcile the data here. 27 total events with 7 Unique events this week (Monday and Tuesday).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When looking at the Conversations Inbox within the HS portal, I see 6 chat sessions.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My question is, what constitutes that a conversation started? If someone clicks one of the screening questions from the bot but doesn't finish with the form (provide email) is that a Conversation Started event? Does that mean if there are 7 unique events and only 6 chat sessions, that one person never actually connected with an agent?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Station.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/23836iA662FE79E0B83A74/image-size/large?v=v2&amp;amp;px=999" role="button" title="Station.png" alt="Station.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:07:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/318387#M1611</guid>
      <dc:creator>bradgerlach</dc:creator>
      <dc:date>2020-02-12T15:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/325613#M1652</link>
      <description>&lt;P&gt;Is this still the best method for tracking Chat in GTM?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;More recently HS have released "Conversation Live Chat Widget API" (&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Livechat-on-Google-Tag-Manager/m-p/293219/highlight/true#M27362" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Livechat-on-Google-Tag-Manager/m-p/293219/highlight/true#M27362&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However it seems less straightforward than the solution in this thread.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 18:17:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/325613#M1652</guid>
      <dc:creator>znicholson</dc:creator>
      <dc:date>2020-03-12T18:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/325660#M1653</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/123898"&gt;@znicholson&lt;/a&gt;&amp;nbsp;both will likely work. Probably best to use the public API though. Do you have specific questions about how to use it? HubSpot writes their JavaScript docs using ES6 syntax which isn't natively supported in all browsers and it can look a little odd. See below for a more supported JS syntax:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;window.HubSpotConversations.on('conversationStarted', function(payload){
  dataLayer.push({'event': 'hs_chat_started'}); // This will need customized to your particular needs.
});&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 21:34:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/325660#M1653</guid>
      <dc:creator>derekcavaliero</dc:creator>
      <dc:date>2020-03-12T21:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Chat Tool: Recording Conversions in Analytics/Adwords</title>
      <link>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/330258#M1691</link>
      <description>&lt;P&gt;100% agreed - it takes forever. I'm really thinking about using a different Chat-Tool&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 07:50:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Reporting-Analytics/Hubspot-Chat-Tool-Recording-Conversions-in-Analytics-Adwords/m-p/330258#M1691</guid>
      <dc:creator>ArthoferS</dc:creator>
      <dc:date>2020-04-08T07:50:46Z</dc:date>
    </item>
  </channel>
</rss>

