<?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: API documentation for Event Data? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/803716#M64653</link>
    <description>&lt;P&gt;I posted the article I got a very similar solution from. I'm sure your solution works fine too, however my question was regarding the API documentation you used to find that solution. I can't find any docs on the event.data response. How would you have known listen for that response? I'm assuming you read some docs from hubspot or the lords of hubspot appeared in a burning bush to reveal their secrets. I'm hoping the former is true so I can create solutions in the future much like you did since I don't learn anything from just copy pasting solutions.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2023 18:12:13 GMT</pubDate>
    <dc:creator>EdCupaioli</dc:creator>
    <dc:date>2023-06-06T18:12:13Z</dc:date>
    <item>
      <title>API documentation for Event Data?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/802011#M64550</link>
      <description>&lt;P&gt;I recently read &lt;A href="https://speedworksocial.com/hubspot-meetings-conversion-tracking/" target="_blank" rel="noopener"&gt;this guide&lt;/A&gt; on how to add an event listener for when someone books a meeting, but I saw it was from 4 years ago so I went to check if the event.data objects were accurate but couldn't find any docs on event.data. I was able to log the object coming through but can someone point me in the right direction for when I need to do something else with the event.data?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 21:22:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/802011#M64550</guid>
      <dc:creator>ECupaioli</dc:creator>
      <dc:date>2023-06-01T21:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: API documentation for Event Data?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/802481#M64580</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/577986"&gt;@ECupaioli&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Welcome to the community. I agree with you, using older resources can be help, but they run the risk of becoming obsolete or outdated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The specifics of what is included in &lt;/SPAN&gt;&lt;CODE&gt;event.data&lt;/CODE&gt;&lt;SPAN&gt; can vary depending on the specific API or platform you're using.&amp;nbsp;Without more information on the specific endpoint you're using, it's hard to provide guidance. Would you mind sharing more details about what you are using? That might help us to provide more targeted advice.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Probably not a solution, but you might consider messing around with JavaScript's &lt;CODE&gt;console.dir(event)&lt;/CODE&gt;. It allows you to interactively explore all properties of the &lt;CODE&gt;event&lt;/CODE&gt; object in your browser's console.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Have fun building! — Jaycee&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 20:54:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/802481#M64580</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-06-02T20:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: API documentation for Event Data?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/802491#M64582</link>
      <description>&lt;P&gt;I'm using the &lt;A href="https://knowledge.hubspot.com/meetings-tool/embed-the-meeting-widget-on-a-page" target="_blank" rel="noopener"&gt;Meeting Scheduler widget&lt;/A&gt;&amp;nbsp;. There's an ad landing page and an API page for how to build your own, but nothing really on the widget and how to use event listeners with it. &lt;A href="https://gist.github.com/ablatner88/81f156a48d57b4a8b5c611f446c4f0df#file-clickfunnels-hubspot-meeting-booked-event-listener" target="_blank" rel="noopener"&gt;This is the code&lt;/A&gt; from the guide that works for me but I'm not clear on how that person got that info. It's the &lt;A href="https://xkcd.com/979/" target="_blank" rel="noopener"&gt;wisdom of the ancients&lt;/A&gt; without any proper docs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 21:14:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/802491#M64582</guid>
      <dc:creator>EdCupaioli</dc:creator>
      <dc:date>2023-06-02T21:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: API documentation for Event Data?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/802887#M64608</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/577986"&gt;@ECupaioli&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the code I use to send data from the meeting tool to Tagmanager:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;script type="text/javascript"&amp;gt;
  window.dataLayer = window.dataLayer || [];
  window.addEventListener('message', event =&amp;gt; {
    if (event.data.meetingBookSucceeded) {
      window.dataLayer.push({
        event: 'hubspotBookedMeeting',
        currentUrl: window.location.href,
        hsFormGuid: event.data.meetingsPayload.formGuid,
        paidMeeting: event.data.meetingsPayload.isPaidMeeting,
        linkType: event.data.meetingsPayload.linkType,
        offline: event.data.meetingsPayload.offline,
      });
    }
  });
&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;Hope this helps!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I created a &lt;A href="https://youtu.be/s3Ie-tKn0hM" target="_blank" rel="noopener"&gt;video&lt;/A&gt; about HubSpot events and GA4, but it also explains a bit about the meeting tool (around 4 min).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 09:20:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/802887#M64608</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2023-06-05T09:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: API documentation for Event Data?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/803705#M64650</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;! You're a legend &lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt; And thank you to&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/391779"&gt;@EdCupaioli&lt;/a&gt;&amp;nbsp;for the Wisdom of the Ancients reference. I needed a good lol/sob – Jaycee&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 17:56:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/803705#M64650</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-06-06T17:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: API documentation for Event Data?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/803716#M64653</link>
      <description>&lt;P&gt;I posted the article I got a very similar solution from. I'm sure your solution works fine too, however my question was regarding the API documentation you used to find that solution. I can't find any docs on the event.data response. How would you have known listen for that response? I'm assuming you read some docs from hubspot or the lords of hubspot appeared in a burning bush to reveal their secrets. I'm hoping the former is true so I can create solutions in the future much like you did since I don't learn anything from just copy pasting solutions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 18:12:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/803716#M64653</guid>
      <dc:creator>EdCupaioli</dc:creator>
      <dc:date>2023-06-06T18:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: API documentation for Event Data?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/803720#M64655</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/391779"&gt;@EdCupaioli&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fair point, and mate, do you make me laugh!&lt;BR /&gt;Sadly, there isn't any documentation about window events besides the form events. I simply went with testing and using console logs to see what I can use.&lt;BR /&gt;&lt;BR /&gt;As you can see, there is no result in Google available;&lt;BR /&gt;&lt;A href="https://www.google.com/search?q=site%3Adevelopers.hubspot.com+%22meetingBookSucceeded%22" target="_blank"&gt;https://www.google.com/search?q=site%3Adevelopers.hubspot.com+%22meetingBookSucceeded%22&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.google.com/search?q=site%3Aknowledge.hubspot.com+%22meetingBookSucceeded%22" target="_blank"&gt;https://www.google.com/search?q=site%3Aknowledge.hubspot.com+%22meetingBookSucceeded%22&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 18:16:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/803720#M64655</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2023-06-06T18:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: API documentation for Event Data?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/803724#M64656</link>
      <description>&lt;P&gt;I did console logs to test it out so that tracks. I guess I know now hubspot adds &lt;A href="https://developer.mozilla.org/en-US/docs/Web/API/Window/message_event" target="_blank" rel="noopener"&gt;messages&lt;/A&gt; on successful API calls. Trust me, I googled a plenty but also turned up nothing.&amp;nbsp; I found &lt;A href="https://developers.hubspot.com/docs/api/crm/meetings" target="_blank" rel="noopener"&gt;API docs&lt;/A&gt; on Meetings but no response output like I would expect from API documentation.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 18:22:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/803724#M64656</guid>
      <dc:creator>EdCupaioli</dc:creator>
      <dc:date>2023-06-06T18:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: API documentation for Event Data?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/1046073#M76924</link>
      <description>&lt;P&gt;I also found this solution using the logs specific to CTA forms since they post a different message:&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/CMS-Development/hsFormCallback-for-hubspot-form-embedded-in-Pop-up-CTA/td-p/767234" target="_blank"&gt;https://community.hubspot.com/t5/CMS-Development/hsFormCallback-for-hubspot-form-embedded-in-Pop-up-CTA/td-p/767234&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 21:14:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/API-documentation-for-Event-Data/m-p/1046073#M76924</guid>
      <dc:creator>EdCupaioli</dc:creator>
      <dc:date>2024-09-25T21:14:12Z</dc:date>
    </item>
  </channel>
</rss>

