ActiveCampaign Forum

Personalizing Personalization

Greetings,
I was wondering if there is a way to customize the way Personalization Tags appear in the final email sent.

Here is what I’m setting up in a text block

%FIRSTNAME% and %SPOUSE_FIRST_NAME%

However there will be some times when I do not have a Spouse First Name. Short of manually changing particular messages, can AC see that the second tag is blank and account for that and remove the space and the work “and” when the 2nd tag is not present.

Thanks!

You could try adding 2 text blocks - one will have %FIRSTNAME% only and the other containing %FIRSTNAME% and %SPOUSE_FIRST_NAME%.

Then, in both these blocks, click the cog icon and select Make Conditional. Set the conditions for each block i.e. %SPOUSE_FIRST_NAME% exists/does not exist.