<?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: Chatbot Google Analytics custom event tracking in Lead Capture Tools</title>
    <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Chatbot-Google-Analytics-custom-event-tracking/m-p/803747#M9397</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/121959"&gt;@DJohnson4&lt;/a&gt;&amp;nbsp;, here's an idea for a different approach. Instead of having one large chatflow with numerous branches, consider dividing your chatflow into several smaller, linear flows. Each branch transformed into simple flows with a single objective so that you can utilize conversation started and ended events to accurately report in Analytics. I hope this makes sense and you can try it out.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2023 18:58:32 GMT</pubDate>
    <dc:creator>mangelet</dc:creator>
    <dc:date>2023-06-06T18:58:32Z</dc:date>
    <item>
      <title>Chatbot Google Analytics custom event tracking</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Chatbot-Google-Analytics-custom-event-tracking/m-p/803563#M9392</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using a lead generation chatbot on my website, and I have set up a specific goal in Google Analytics to track its performance. However, I recently discovered that the goal can only be triggered when the chatbot starts and ends. The issue is that I have multiple branches in my chatbot's workflow, where people are treated differently based on certain conditions. Therefore, I don't want to track every single person who goes through the workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if it is possible to implement a custom code action that would allow me to trigger the Google Analytics goal completion at a specific point within the chat flow, rather than just at the beginning or end of the conversation.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For reference, &lt;SPAN&gt;I don't have a background in development and don't have access to a developer. If anyone could assist me with this matter, I would be extremely grateful.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 14:49:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Chatbot-Google-Analytics-custom-event-tracking/m-p/803563#M9392</guid>
      <dc:creator>DJohnson4</dc:creator>
      <dc:date>2023-06-06T14:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Chatbot Google Analytics custom event tracking</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Chatbot-Google-Analytics-custom-event-tracking/m-p/803706#M9395</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/121959"&gt;@DJohnson4&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sadly,&amp;nbsp; the code that runs inside a chatbot is limited to chat flow itself, which would mean it is not possible to trigger anything browser-related, so pushing data to the data layer wouldn't work either.&amp;nbsp;&lt;BR /&gt;I checked if there is a way to somehow trigger anything in the browser, but that currently is not possible. The best thing you could do is add this as an idea in the &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/idb-p/HubSpot_Ideas" target="_blank" rel="noopener"&gt;ideas forum&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 17:56:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Chatbot-Google-Analytics-custom-event-tracking/m-p/803706#M9395</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2023-06-06T17:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Chatbot Google Analytics custom event tracking</title>
      <link>https://community.hubspot.com/t5/Lead-Capture-Tools/Chatbot-Google-Analytics-custom-event-tracking/m-p/803747#M9397</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/121959"&gt;@DJohnson4&lt;/a&gt;&amp;nbsp;, here's an idea for a different approach. Instead of having one large chatflow with numerous branches, consider dividing your chatflow into several smaller, linear flows. Each branch transformed into simple flows with a single objective so that you can utilize conversation started and ended events to accurately report in Analytics. I hope this makes sense and you can try it out.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 18:58:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lead-Capture-Tools/Chatbot-Google-Analytics-custom-event-tracking/m-p/803747#M9397</guid>
      <dc:creator>mangelet</dc:creator>
      <dc:date>2023-06-06T18:58:32Z</dc:date>
    </item>
  </channel>
</rss>

