Tips, Tricks & Best Practices

MBailet
Participant

Personalized custom images in an email

SOLVE

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. 

MBailet_0-1644921086603.png

 

Thanx in advance for your help.

 

Marc (French Hubspoter)

 

 

0 Upvotes
1 Accepted solution
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Personalized custom images in an email

SOLVE

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:

 

karstenkoehler_0-1644921981342.png

Next screen:

karstenkoehler_1-1644922025919.png

 

 

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
Digital Marketer | HubSpot Freelancer | CRM Consultant

Beratungstermin mit Karsten vereinbaren


Did my post help answer your query? Help the community by marking it as a solution.

View solution in original post

2 Replies 2
MBailet
Participant

Personalized custom images in an email

SOLVE

It works thank you !

the secret was putting spaces within the brackets. 😊

Thanx

0 Upvotes
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Personalized custom images in an email

SOLVE

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:

 

karstenkoehler_0-1644921981342.png

Next screen:

karstenkoehler_1-1644922025919.png

 

 

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
Digital Marketer | HubSpot Freelancer | CRM Consultant

Beratungstermin mit Karsten vereinbaren


Did my post help answer your query? Help the community by marking it as a solution.