Email Marketing Tool

fca206
Participante

How to do addition in my email's html?

resolver

For various reasons, we need to build our emails in another platform, and add the HTML to HubSpot as a new email template. I've got dynamic URLs in these emails, that are pulling a personalization token into the URLs, and it is working great! The problem is, I actually need that value PLUS 1.

 

So, the personalization token pulls a "5" in (as an example), so the value that I actually want to use in the URL would be "6". Does anyone know of a way for me to do this? Below is the script in my email that populates the URL. You can see the personalization token. I essentially want to increase that value by 1.

 

<a href="http://www.medicalguardian.com/netpromoter/NOSFAN/12345/SEGMENT/{{ (personalization_token('contact.nps_most_recent_survey_type_id', '0') }}/0/1980-01-01/EMAILID/JOBID" style="text-decoration:none;"><img src="https://cdn.medicalguardian.com/eml/assets/img/854a90e6-9fbc-49c1-9c5e-cebd40b0d2dc.gif" style="display:inline-block;width:30px;height:30px;border:0; margin-left: 2px; margin-right: 2px;" alt="0" class="btn"></a>
&nbsp;

0 Avaliação positiva
1 Solução aceita
fca206
Solução
Participante

How to do addition in my email's html?

resolver

Nevermind, I got it figured out!

Exibir solução no post original

0 Avaliação positiva
1 Resposta 1
fca206
Solução
Participante

How to do addition in my email's html?

resolver

Nevermind, I got it figured out!

0 Avaliação positiva