0

We've put a static preheader in an email in email Studio, when we were running tests we received the email without the preheader and the mirror link was there instead. the same happened with single sending.

We tried the following :

<custom name="opencounter" type="tracking">
<div class="preheader" style="font-size: 0px; display: none !important;">Preheader </div>

It worked but we still can't understand why the static preheader written in the box isn't appearing.

Thanks

1 Answer 1

2

In Marketing Cloud, you need to set the static preheader in the specified field in Content Builder. The preheader is automatically added to the email upon send, where it is being injected as the first content of the HTML email.

enter image description here

If you want to define it within the email, you need to set the preheader variable in the source code of the email, before your <body> tag, e.g.:

%%[
SET @testPreheader = "hello ben-man"
]%%
<body>

And referencing it in the email like this:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .