It works perfectly when the contact exists and has this property filled.
Problem: I want to be able to display any logo, even if the contact doesn't exist yet. I was thinking forcing it by adding url parameter into my landing page URL like below (just like we do when auto-populating forms):
I jumped in and checked out that page, and it looks like it's still depending on a personalization token (i.e {{contact.company_domain}}) for the logo URL. I don't want to edit that page on your behalf; could you try replacing the personalization token with a HubL query selection (mentioned above)?
You can also try using a HubL if statement to default to the contact personalization token in the event that the contact already exists:
HubL uses if statements to help define the logic of a template. The syntax of HubL if statements is very similar to conditional logic in Python. If statements are wrapped in statement delimiters, starting with an opening if statement and ending with...
Auto-populate a contact property in landing page from url parameter
SOLVE
Hi @Derek_Gervais thanks for taking the time to check the page.
I replaced the personalization token with the same query selection I placed a few days ago and it worked like a charm. I don't get it, I'm guessing it was a cache issue!
Thanks a bunch Derek, you made my day!
PS: For those who are interested, the code is the following:
I jumped in and checked out that page, and it looks like it's still depending on a personalization token (i.e {{contact.company_domain}}) for the logo URL. I don't want to edit that page on your behalf; could you try replacing the personalization token with a HubL query selection (mentioned above)?
You can also try using a HubL if statement to default to the contact personalization token in the event that the contact already exists:
HubL uses if statements to help define the logic of a template. The syntax of HubL if statements is very similar to conditional logic in Python. If statements are wrapped in statement delimiters, starting with an opening if statement and ending with...