listmonk icon indicating copy to clipboard operation
listmonk copied to clipboard

Add preview text field to campaign

Open teknetia opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. Add an additional field to Campaigns that allows setting the preview text so that it is more relevant than the opening lines of the email. This is also shown to have positive effects on open rates, plus it just looks nicer when the preview text is sensible.

email-preview-text-iPhone

Describe the solution you'd like Add an unformatted text area to the Campaign creation page. Ideal if this can also include variables that would allow for nicer preview text on transactional emails too. This could reasonably be on either the Campaign or Content tabs.

teknetia avatar Aug 29 '22 07:08 teknetia

Hi @teknetia. There is no preview text provision in the SMTP protocol. I'm assuming that these the first few lines of text in the e-mail body that mail clients pick up and show, in which case, you can just have these lines inserted into the campaign body or the campaign template.

knadh avatar Aug 29 '22 07:08 knadh

Ah sorry I should have been clearer about the use case and how this exists in other mailer solutions as it is usually inserted in an "invisible way". The reason to do it like this is so that you can have nice preview text before any standard greetings, etc. without the resulting email looking messy. This will of course only make sense with HTML formatted campaigns/templates so should be ignored for plaintext cases.

For example, right at the very top of the <body> before anything else in the template (headings, logos, greetings, etc.) a template can include something like:

<div style="display: none; max-height: 0; overflow: hidden;">
   {{ campaign.preview }}
</div>
<div style="display: none; max-height: 0px; overflow: hidden;">
    &nbsp;‌&nbsp;[...trimmed for space...]‌&nbsp;‌&nbsp;‌&nbsp;
</div>

Doesn't impede the receiver reading the email but allows the campaign to have much nicer preview text than what an email client would otherwise determine from the text.

teknetia avatar Aug 29 '22 08:08 teknetia

Hi! How can preheader/preview text be added from the campaign settings?

Here's an example from MailChimp:

image

Here's an example from Envoke:

image

candidexmedia avatar Mar 17 '23 18:03 candidexmedia