<?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: How to pass VID (Contact ID) in Emails URLs as a parameter in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/819534#M65628</link>
    <description>&lt;P&gt;Hi Wendy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this approach still valid? I have tried to add it to my CTA but I keep getting an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would like to pass the contactId in the URL, so I would assume &lt;STRONG&gt;{{contact.vid}}&lt;/STRONG&gt; would work, correct?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward to your reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 16:27:41 GMT</pubDate>
    <dc:creator>SDuran2</dc:creator>
    <dc:date>2023-07-13T16:27:41Z</dc:date>
    <item>
      <title>How to pass VID (Contact ID) in Emails URLs as a parameter</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/320203#M30780</link>
      <description>&lt;P&gt;Today, we can use the personalization features in the email body such as first name, email address, contact id...etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if we want to pass the contact id (VID) as a parameter in the URL (CTA url), it is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why do we need to pass vid in the url?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The contact id parameter can be used to fetch the contact info when a user opens the email and click on the CTA (URL).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The final url can be appended with the contact vid in which the website or the landing page can query the HubSpot API and query the contact info by providing VID in order to provide a personalized experience.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: when creating the email, the url can be&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.mydomain.com/?memberid={{ContactID" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.mydomain.com?memberid={{ContactID&lt;/A&gt;}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When a user click on the CTA, the final URL will be&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.mydomain.com/?memberid=112233" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.mydomain.com?memberid=112233&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Summary:&lt;/P&gt;&lt;P&gt;HubSpot does not support passing the VID in email CTA URLs. What is the alternative?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 08:19:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/320203#M30780</guid>
      <dc:creator>samerjk</dc:creator>
      <dc:date>2020-02-19T08:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass VID (Contact ID) in Emails URLs as a parameter</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/320476#M30816</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/115947"&gt;@samerjk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Edited:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Apologise for my previous response.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding contact vid on a &amp;lt;a href url is definitely possible.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On my end, I have tried the following:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;a href="www.google.com?memberId={{ contact.hs_object_id }}"&amp;gt;test link&amp;lt;/a&amp;gt;&lt;/PRE&gt;
&lt;P&gt;and it work just fine. Could you give it a try and see if it works?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something to note, while we do not support Hubl or personalization in CTA,&amp;nbsp; you can add it on a anchor tag or a custom module to style it up.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps and do let me know if you've any further questions on this!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 08:41:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/320476#M30816</guid>
      <dc:creator>WendyGoh</dc:creator>
      <dc:date>2020-02-20T08:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass VID (Contact ID) in Emails URLs as a parameter</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/320572#M30829</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66274"&gt;@WendyGoh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this and it's working fine!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thought many HubSpot support agents and community members said it's not supported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 13:41:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/320572#M30829</guid>
      <dc:creator>samerjk</dc:creator>
      <dc:date>2020-02-20T13:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass VID (Contact ID) in Emails URLs as a parameter</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/394550#M38986</link>
      <description>&lt;P&gt;So the link url in a button on an email cannot be updated to accept this, but we could format a block that looks like a button and it should work - correct?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 19:21:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/394550#M38986</guid>
      <dc:creator>cedaly</dc:creator>
      <dc:date>2020-12-17T19:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass VID (Contact ID) in Emails URLs as a parameter</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/394771#M39025</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/102332"&gt;@cedaly&lt;/a&gt; , yep!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 14:55:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/394771#M39025</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2020-12-18T14:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass VID (Contact ID) in Emails URLs as a parameter</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/491985#M46588</link>
      <description>&lt;P&gt;We were hoping we could inject the VID into a URL in a pre-composed follow-up email after filling out a form, which would otherwise be used to register new customers (the primary use of the form) -- ideally, we would be able to inject the VID as URL redirect after registering, as well. As far as I can see, the follow up email can only be composed in a rich text editor without the ability to write HTML in source code, as suggested by the creation of the &amp;lt;a href="...&amp;nbsp; in HubL above, nor as a "Redirect to another page" option. Are there other options for building a URL that would read something like&amp;nbsp;&lt;EM&gt;&lt;A href="https://blah.blah.blah/blah?utm_source=events" target="_blank"&gt;https://blah.blah.blah/blah?utm_source=events&lt;/A&gt;&lt;STRONG&gt;&amp;amp;VID=12704274&lt;/STRONG&gt;&lt;/EM&gt; following the submission of a form someone could suggest? Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 20:23:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/491985#M46588</guid>
      <dc:creator>jk-sone</dc:creator>
      <dc:date>2021-09-08T20:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass VID (Contact ID) in Emails URLs as a parameter</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/819534#M65628</link>
      <description>&lt;P&gt;Hi Wendy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this approach still valid? I have tried to add it to my CTA but I keep getting an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would like to pass the contactId in the URL, so I would assume &lt;STRONG&gt;{{contact.vid}}&lt;/STRONG&gt; would work, correct?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward to your reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 16:27:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/819534#M65628</guid>
      <dc:creator>SDuran2</dc:creator>
      <dc:date>2023-07-13T16:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass VID (Contact ID) in Emails URLs as a parameter</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/861413#M68035</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66274"&gt;@WendyGoh&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Just wondering is it possible to use {{deal.hs_object_id}} in the CTA url as well?&amp;nbsp;&lt;BR /&gt;so something like:&amp;nbsp;&lt;/P&gt;&lt;P&gt;?dealID={{deal.hs_object_id}}&amp;amp;contactId={{contact.hs_object_id}}&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2023 22:51:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-pass-VID-Contact-ID-in-Emails-URLs-as-a-parameter/m-p/861413#M68035</guid>
      <dc:creator>Lily_Chen</dc:creator>
      <dc:date>2023-10-08T22:51:55Z</dc:date>
    </item>
  </channel>
</rss>

