<?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: Conditionals with personalization token in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/731411#M59697</link>
    <description>&lt;P&gt;Thank you! I turned off the global default personalization name and now it seems to work! One final follow up question: The way that {{contact.firstname}} works (I'm assuming) is that it goes into the Contact list and seacherse for your name and pull the 'first name' attribute. However, I am a contact and when I view the page, my name doesn't show up, but someone elses does. Does it look&amp;nbsp; at IP address or something to dictate who is who?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 13:49:15 GMT</pubDate>
    <dc:creator>jacjanowski</dc:creator>
    <dc:date>2022-12-15T13:49:15Z</dc:date>
    <item>
      <title>Conditionals with personalization token</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/730308#M59607</link>
      <description>&lt;P&gt;I have a Hubspot landing page and what I want to do is personalize the landing page so that when a Hubspot contact under our Contact List visits the page, I want it to say '[First Name], Welcome'. If they aren't a contact, then it would just say 'Welcome'.&amp;nbsp; This is what I have so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;          {% if contact.property is true %}
          &amp;lt;h1&amp;gt;{{ contact.firstname }}, Welcome!&amp;lt;/h1&amp;gt;
          {% else %}
          &amp;lt;h1&amp;gt;Welcome&amp;lt;/h1&amp;gt;
          {% endif %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I doing this right? Because I am a contact and when I visit the page, it's not working... Ideas??&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 15:49:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/730308#M59607</guid>
      <dc:creator>jacjanowski</dc:creator>
      <dc:date>2022-12-13T15:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionals with personalization token</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/730939#M59670</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/483404"&gt;@jacjanowski&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for reaching out. Here's a solution from one of the community champs to help get you started —&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/CMS-Development/If-statement-to-check-if-personalization-token-is-empty/m-p/520864/highlight/true#M25937" target="_blank" rel="noopener"&gt;If statement to check if personalization token is empty&lt;/A&gt;. Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/146956"&gt;@BarryGrennan&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/158"&gt;@jpsanchez&lt;/a&gt;, do&amp;nbsp;you have any tips for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/483404"&gt;@jacjanowski&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 17:44:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/730939#M59670</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-12-14T17:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionals with personalization token</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/730951#M59673</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not sure why you need to do it just hard-code , you can do this from CMS with SMART CONTENT add token and IMPORTANT "DEFAULT VALUE"&amp;nbsp; = NO VALUE&amp;nbsp; &amp;nbsp;( in this case or what ever value you want if the contact is not in your list )&lt;/P&gt;
&lt;P&gt;Just let me know if is fine for you&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;JP&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 17:56:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/730951#M59673</guid>
      <dc:creator>jpsanchez</dc:creator>
      <dc:date>2022-12-14T17:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionals with personalization token</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/731411#M59697</link>
      <description>&lt;P&gt;Thank you! I turned off the global default personalization name and now it seems to work! One final follow up question: The way that {{contact.firstname}} works (I'm assuming) is that it goes into the Contact list and seacherse for your name and pull the 'first name' attribute. However, I am a contact and when I view the page, my name doesn't show up, but someone elses does. Does it look&amp;nbsp; at IP address or something to dictate who is who?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 13:49:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/731411#M59697</guid>
      <dc:creator>jacjanowski</dc:creator>
      <dc:date>2022-12-15T13:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionals with personalization token</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/731445#M59698</link>
      <description>&lt;P&gt;How it works.&amp;nbsp; ( per your setup)&lt;/P&gt;
&lt;P&gt;Use this list of contacts&lt;/P&gt;
&lt;P&gt;If you Identify a contact.&amp;nbsp; Them in this page, show XX&amp;nbsp; propertie.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the contact is not identify show default value.&lt;/P&gt;
&lt;P&gt;----------&lt;/P&gt;
&lt;P&gt;How it works? Using HubSpot Cookies, ... that means testing can be a bit nightmare if don´t know. ! . Clear cookies, open new private browser session. For all this reason i recomend to use the PREVIEW VIEW in hubspot and choose PERSONALIZATION&amp;nbsp; for example.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it works!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;JP&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS ( if you like the answer please mark it! )&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 14:57:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/731445#M59698</guid>
      <dc:creator>jpsanchez</dc:creator>
      <dc:date>2022-12-15T14:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionals with personalization token</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/731529#M59703</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/158"&gt;@jpsanchez&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt; You rock! — Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 17:37:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Conditionals-with-personalization-token/m-p/731529#M59703</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-12-15T17:37:03Z</dc:date>
    </item>
  </channel>
</rss>

