<?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 Impact Radius Integration (Tracking tags + API post from Deal change) in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/312648#M29834</link>
    <description>&lt;DIV&gt;Hi everyone&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.hubspot.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have been tasked with an API integration for Impact Radius (&lt;A href="https://impact.com/" target="_blank"&gt;https://impact.com/&lt;/A&gt;) for my client's Hubspot website. The integration needs to happen in two parts, which I have listed as #1 and #2 below. #1 I believe I should be able to accomplish however I have written out my solution just in case someone spots a fault somewhere. #2 is where I’d like some direction or guidance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;#1 Client side tracking tags&lt;/DIV&gt;&lt;DIV&gt;Impact has several tracking tags which will be placed in the &amp;lt;head&amp;gt; and &amp;lt;body&amp;gt; of the site, similar to Google analytics. When a user completes a certain form a Javascript action is fired on the thank you page, I use hubl to output the id &amp;amp; email of the contact into the parameters of the &amp;lt;script&amp;gt; tag.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Previously when doing this, there was a delay and so the details weren’t available immediately in hubl. My solution was and will be to introduce a middle-man page which simply has a loading animation for a couple seconds before taking the user to the thank you page.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;#2 Posting data to Impact’s API&lt;/DIV&gt;&lt;DIV&gt;The sales team of my client use a contact property called Deal Stage to determine what the potential customer's status is. Once they have been set to a certain deal stage, an HTTP post needs to be made to Impact's API, to notify the system a deal has been made. There are several pieces of Impact account specific information which need to be sent as part of the payload.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How can I achieve this?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My only idea at the moment is to try use webhooks to post the data to an intermediary site, which re-organises the data and passes it on to Impact. Would this be a valid approach?&lt;/DIV&gt;</description>
    <pubDate>Fri, 17 Jan 2020 13:19:05 GMT</pubDate>
    <dc:creator>MichaelWallis</dc:creator>
    <dc:date>2020-01-17T13:19:05Z</dc:date>
    <item>
      <title>Impact Radius Integration (Tracking tags + API post from Deal change)</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/312648#M29834</link>
      <description>&lt;DIV&gt;Hi everyone&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.hubspot.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have been tasked with an API integration for Impact Radius (&lt;A href="https://impact.com/" target="_blank"&gt;https://impact.com/&lt;/A&gt;) for my client's Hubspot website. The integration needs to happen in two parts, which I have listed as #1 and #2 below. #1 I believe I should be able to accomplish however I have written out my solution just in case someone spots a fault somewhere. #2 is where I’d like some direction or guidance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;#1 Client side tracking tags&lt;/DIV&gt;&lt;DIV&gt;Impact has several tracking tags which will be placed in the &amp;lt;head&amp;gt; and &amp;lt;body&amp;gt; of the site, similar to Google analytics. When a user completes a certain form a Javascript action is fired on the thank you page, I use hubl to output the id &amp;amp; email of the contact into the parameters of the &amp;lt;script&amp;gt; tag.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Previously when doing this, there was a delay and so the details weren’t available immediately in hubl. My solution was and will be to introduce a middle-man page which simply has a loading animation for a couple seconds before taking the user to the thank you page.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;#2 Posting data to Impact’s API&lt;/DIV&gt;&lt;DIV&gt;The sales team of my client use a contact property called Deal Stage to determine what the potential customer's status is. Once they have been set to a certain deal stage, an HTTP post needs to be made to Impact's API, to notify the system a deal has been made. There are several pieces of Impact account specific information which need to be sent as part of the payload.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How can I achieve this?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My only idea at the moment is to try use webhooks to post the data to an intermediary site, which re-organises the data and passes it on to Impact. Would this be a valid approach?&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Jan 2020 13:19:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/312648#M29834</guid>
      <dc:creator>MichaelWallis</dc:creator>
      <dc:date>2020-01-17T13:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Impact Radius Integration (Tracking tags + API post from Deal change)</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/312658#M29836</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/115826"&gt;@MichaelWallis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the details here on what you're doing. Taking a look into this, #1 looks ok in it's configuration.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For #2 would you be able to provide a bit more detail around this process. Webhooks could work from within HubSpot but we'd need a bit more of an understanding around what the process would ideally look like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To elaborate on this point, for this to work in HubSpot, we'd need a trigger event, something to trigger this Webhook, especially if we're working with Webhooks via our Workflows tool.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you mention deal stage (i'm not sure if this is within the external tool or HubSpot, so i'll assume the latter) this can be used as a trigger in the sense that, if a deal stage is equalled to a specific stage in HubSpot, we can enroll the Deal/Contact/Company etc which will then POST the relevant API data respective to the object that is enrolled.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, you mention that this data is required to be specific for the external tool and so it would be recommended that you have something that can work through this to extract the required values before posting to your external tool.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is something that potentially suits, you can find more info on this here:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Webhook API Docs Info:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/workflows/webhook_information" target="_blank"&gt;https://developers.hubspot.com/docs/methods/workflows/webhook_information&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Webhooks with Workflows:&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/workflows/how-do-i-use-webhooks-with-hubspot-workflows" target="_blank"&gt;https://knowledge.hubspot.com/workflows/how-do-i-use-webhooks-with-hubspot-workflows&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The 1st link will provide you with an idea of what data is posted when this workflow webhook is triggered.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 14:14:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/312658#M29836</guid>
      <dc:creator>Willson</dc:creator>
      <dc:date>2020-01-17T14:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Impact Radius Integration (Tracking tags + API post from Deal change)</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/313038#M29882</link>
      <description>&lt;DIV&gt;Hi Matthew&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your response.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have been busy building out a potential solution for #2 using webhooks. Regarding the enrolment criteria, I have confirmed Deal Stage is a property we can use for this purpose, it will correctly fire the webhook.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am currently building out a solution using Google Cloud Functions as the middle man. The webhook will post to a Google Cloud Function, which will re-organise the data and send it to Impact Radius.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have managed to extract the data I need (the email address &amp;amp; VID) from the JSON, however I need to know whether the structure of the JSON that Hubspot sends on webhook posting will always be the same?&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For e.g currently to get the email address I use&amp;nbsp;['properties']['email']['versions'][0]['value’], and to get the VID I am using&amp;nbsp;['properties']['hs_analytics_source']['versions'][0]['sourceId’]. This relies on Hubspots JSON always staying the same structure on posting.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can you confirm this is the case?&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Jan 2020 14:05:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/313038#M29882</guid>
      <dc:creator>MichaelWallis</dc:creator>
      <dc:date>2020-01-20T14:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Impact Radius Integration (Tracking tags + API post from Deal change)</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/313044#M29884</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/115826"&gt;@MichaelWallis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is correct, the format should not be changing unless we make an update to the endpoint itself, which will be documented as part of our changes via our Changelog which can be found here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developers.hubspot.com/changelog" target="_blank"&gt;https://developers.hubspot.com/changelog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 14:18:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/313044#M29884</guid>
      <dc:creator>Willson</dc:creator>
      <dc:date>2020-01-20T14:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Impact Radius Integration (Tracking tags + API post from Deal change)</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/313550#M29961</link>
      <description>&lt;P&gt;Hi Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for this, I think this means that Google Cloud Functions will be a valid middle man between Hubspot &amp;amp; Impact Radius.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The last piece of the puzzle appears to be a piece of information which is stored in step #1, but also needs to be sent to the API in step #2. This piece of data is passed through the Url when the potential customer first lands on the site, and needs to be stored on form submit. To store this I believe should be quite straightforward: Create a custom property, add it as . a hidden field and then populate the field using the form JS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question, is how can I send this piece of information using a webhook? Is it possible to send custom properties using webhooks? Or would I somehow need to query the Hubspot API for this information?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 12:53:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/313550#M29961</guid>
      <dc:creator>MichaelWallis</dc:creator>
      <dc:date>2020-01-22T12:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Impact Radius Integration (Tracking tags + API post from Deal change)</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/313937#M29999</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/115826"&gt;@MichaelWallis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The hidden field solution should suffice when it comes to storing this value on form submit. For the Webhook, we do support the use of Customer Properties via Webhooks.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I was able to find a thread where my colleague, Isaac, explains how it works with custom properties. Take a look here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Webhook-Events-on-Custom-Properties/td-p/222017" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/Webhook-Events-on-Custom-Properties/td-p/222017&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 09:31:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Impact-Radius-Integration-Tracking-tags-API-post-from-Deal/m-p/313937#M29999</guid>
      <dc:creator>Willson</dc:creator>
      <dc:date>2020-01-23T09:31:03Z</dc:date>
    </item>
  </channel>
</rss>

