Is it possible to display contact value in hubspot website
Thanks zwolfson for pointing me to the right direction. I wonder if contact value (personalization tokens) can be comparable. It seems personalization tokens generate an image element. Can the value be compared by javascript or jquery, or other methods that identifies contact value as var element? For specific, I want to achieve something like the following script:
<script type="text/javascript">
var approved={{contact.fund_approved}}
if (approved)
alert("Congratulations, your fund is approved"}
else
alert("Sorry, your fund is declined"}
</script>
Is it possible to display contact value in hubspot website
@wlyu9248, personalization tokens will just show whatever the value of the contact property, it shouldn’t be an image. You definitely could use personalization tokens as you are in the example code you posted.