We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Feb 15, 2022 5:33 AM
Hello All,
I have every month 30 newsletter to send. 80% is the same contant for all, 20% is personalized. i.e. the top logo.
So i would like to automatically change this top logo : create custom personalised images in my email.
I tried with smart rules : but with smart rules i need to create 30 versions manually.
What i want is creating 1 version with 1 custom field and this filed is filled with the right image.
I tried :
* creating a company property called ''personalisedlogo''
* Fill all these properties with a logo URL (hosted on a Hubspot files folder)
* Insert a personalised field in the email (jeton de personnalisation in FRench)
Didn't work.
then, I replaced the personased field with an html code
<p>
<img scr ="{{company.personalisedlogo}}" alt ="company logo" width ="100" height= "auto">
</p>
and guess what.... i didn't work 😞
I this possible to insert Custom personnalised images in an email ? (without having of creating 30 versions in a smart content field)
Here is what i want to make.
Thanx in advance for your help.
Marc (French Hubspoter)
Solved! Go to Solution.
Feb 15, 2022 5:50 AM
Hi @MBailet,
Your approach should actually work – I just tested this on my end with a contact property. (Could you explain why you created a company property? In any case, both should work.)
Just to confirm your own approach: When you work with a custom property, you need to fill this property with the image URL on each contact/company record. When the email is sent, HubSpot is pulling the link from the URL field for each contact record.
If that sounds correct, could you double check you're following the correct syntax, especially the space characters within the curly brackets?
<img src="{{ contact.personalisedlogo }}" alt="personalised logo">
How are you testing whether the images are displayed correctly? You'd have to preview the email for a specific contact:
Next screen:
If that doesn't work, could you share screenshots of what you're seeing?
There might also be other approaches but I'm not sure I fully understand you're use case. For example, if you set up the email once (with smart rules), you could clone the same email every month and not even have to maintain the URLs, potentially.
Best regards!
Karsten Köhler |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |
Feb 15, 2022 7:11 AM
It works thank you !
the secret was putting spaces within the brackets. 😊
Thanx
Feb 15, 2022 5:50 AM
Hi @MBailet,
Your approach should actually work – I just tested this on my end with a contact property. (Could you explain why you created a company property? In any case, both should work.)
Just to confirm your own approach: When you work with a custom property, you need to fill this property with the image URL on each contact/company record. When the email is sent, HubSpot is pulling the link from the URL field for each contact record.
If that sounds correct, could you double check you're following the correct syntax, especially the space characters within the curly brackets?
<img src="{{ contact.personalisedlogo }}" alt="personalised logo">
How are you testing whether the images are displayed correctly? You'd have to preview the email for a specific contact:
Next screen:
If that doesn't work, could you share screenshots of what you're seeing?
There might also be other approaches but I'm not sure I fully understand you're use case. For example, if you set up the email once (with smart rules), you could clone the same email every month and not even have to maintain the URLs, potentially.
Best regards!
Karsten Köhler |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |