MailWizz smart click tracking and the Outlook preheader fix
If Outlook shows the wrong preheader with MailWizz smart click tracking on, compare the sent HTML with tracking on and off. Outlook builds its preview from the first text in the body, so anything visible or malformed ahead of your preheader span can replace it. Fix the markup, then retest in Outlook.
Sohail Hussain9 min readShort answer
- Send the same campaign twice, once with smart click tracking off and once on, and diff the raw HTML of the two received messages. Look at everything between the opening body tag and your preheader span.
- If the injected anchor is the only thing ahead of the preheader and it contains text or a bare URL, tracking is the likely cause. If the anchor is empty, look for a stray character or visible text above the span instead.
- Make the preheader span the first text in the body, pad it, and retest in the Outlook client your readers use.
A poster on r/Emailmarketing wrote that with smart click tracking on, MailWizz injects a hidden anchor right after the opening body tag, and Outlook then shows the wrong preheader in the inbox list. Commenters doubted the anchor was the cause and suspected a stray < or a syntax error. The poster couldn't report it to the vendor because support required a renewed licence. I found no confirmed resolution, so this guide won't claim the anchor is guilty. It shows you how to find out on your own install.
Why Outlook can show the wrong preheader
Outlook doesn't read a "preheader" field. It builds the inbox preview from the first text it finds in the message body. Klaviyo's help center describes preview text the same way: it is usually pulled from the first line of text within the body of an email. That is why the standard technique is a hidden span as the very first element after body.
Anything that puts text, or something that looks like text, ahead of that span can win. In rough order of how often it happens:
- Visible content above the span. A "view in browser" line, a header table with text, or a logo with alt text.
- A link near the top. People on Microsoft's community forum report that when a link sits in the first lines of a message, Outlook can show the link instead of the preview text. If the tracking layer wraps or injects a link with visible text or a URL as its label, that fits the symptom.
- Broken markup. A stray
<, an unclosed tag or an unescaped&can make the parser treat the next run of text as part of a malformed element, so the preheader never registers cleanly. - A preheader that is too short. Outlook continues into body text when the opening text runs out. In new Outlook, spaces and blank lines don't reliably stop that, according to answers on Microsoft's Q&A site.
- The injected anchor itself. Possible, but only if it carries text. An anchor with just an
hrefand no label has nothing to show.
What is not known: exactly what MailWizz writes for smart click tracking in your version, and how each Outlook client treats it. Check the sent source rather than guessing.
Step-by-step: find what Outlook is reading
Fix 1: compare the sent source with tracking on and off
You need the HTML the recipient got, not the template in the editor. The editor shows your source; the tracking layer rewrites it at send time.
- Send a test of the campaign to a mailbox you control with smart click tracking off.
- Send the same campaign with smart click tracking on.
- In Gmail, open each message and choose Show original. In Outlook, save or forward the message as an
.emlattachment and open it in a text editor. - Copy the HTML body of each into a text diff tool.
- Look only at the text between the opening
bodytag and your preheader span. Note what the injected anchor contains: thehref, any label text, any whitespace characters, and whether it is closed.
Fix 2: make the preheader the first text
Put this directly after the opening body tag, before any table, link or visible text:
<body>
<span style="display:none;font-size:1px;color:#ffffff;line-height:1px;max-height:0;max-width:0;opacity:0;overflow:hidden;mso-hide:all;">
Your preheader text goes here.
</span>
<!-- visible email content starts here -->
Then move any "view online" link or header text below it.
Fix 3: repair malformed markup
- Run the sent HTML (not the editor source) through an HTML validator.
- Close every open tag.
- Replace a bare
<in text with<and a bare&with&. - Resend with tracking on and check the preview again.
Fix 4: pad a short preheader
If the preview shows your preheader followed by body text, add invisible filler after your sentence, inside the same span:
͏‌ ͏‌ ͏‌ ͏‌
Padding is not a guarantee
Microsoft's Q&A answers say new Outlook can ignore repeated spaces and blank lines and append body text anyway. Treat padding as a mitigation, and write a preheader long enough to fill the preview on its own.
Fix 5: if the anchor still sits ahead of your span
Run the diff again after the fixes above. If the injected anchor is still before the span and the preview is still wrong, tracking is the likely cause. You have two practical options:
- Turn smart click tracking off for campaigns where the preview matters most, and accept the loss of that tracking for them.
- Ask whoever administers your MailWizz install, or its developer, how the injection is placed in your version. Check that version's documentation instead of trusting a forum answer, including this one.
Which cause do you have
| What the diff shows | Likely cause | Next step |
|---|---|---|
| Injected anchor has label text or a visible URL | Tracking markup may supply the preview | Try tracking off for a test; ask the admin about placement |
| Injected anchor is empty and well formed | Probably not the cause | Check for stray < and visible text above the span |
| Wrong preview with tracking off too | Template problem | Fix the template markup and span position |
| Preview blank or odd characters | Broken tag or encoding | Validate HTML; check the character set |
| Right in Gmail, wrong in Outlook only | Outlook parsing | Confirm mso-hide:all span is first; retest per client |
| Preview shows preheader plus body text | Preheader too short | Lengthen it and add padding |
Test in more than one Outlook
Outlook is several clients: classic desktop, new Outlook, Outlook on the web and the mobile apps. A fix that works in one may not in another, so test at least classic desktop and Outlook on the web, plus new Outlook if your readers use it. Our free preheader previewer and responsive email tester help with layout and length, but neither replaces a real send to a real Outlook mailbox. The preheader text glossary entry covers length and padding in more detail.
Keep a diffable baseline
Save the raw source of one good send, with the preview showing correctly. After any MailWizz upgrade or template change, diff a new send against it before the next big campaign.
Checklist before you resend
- The preheader span is the first element after the opening
bodytag in the sent HTML. - No visible text, link or alt-text image sits above it.
- The sent HTML validates, with no stray
<or bare&. - The preheader is long enough to fill the preview, with padding after it.
- You compared a tracking-on send with a tracking-off send.
- You checked the result in the Outlook clients your list actually uses.
If nothing works
Contact whoever supports your MailWizz install: the vendor if your licence allows it, otherwise your hosting provider or the developer who maintains the server. The original poster found that support required a renewed licence, so a clean reproduction matters even more. Include the two raw sources, the diff, your MailWizz version, the Outlook client and version showing the wrong text, and what you already tried.
Subject: Wrong Outlook preview text when smart click tracking is enabled
Hello,
With smart click tracking ON, Outlook (client and version: ____) shows
"____" as the inbox preview instead of our preheader. With tracking OFF
the preview is correct.
MailWizz version: ____
Attached: raw source of the tracking-on send, raw source of the
tracking-off send, and a diff of the two.
The injected element between the body tag and our preheader span is:
____
Already tried: moving the preheader span first, validating the HTML,
adding padding characters.
Can you tell us how the anchor is placed in this version, and whether
it can be moved or disabled?
Thank you
Where Mailneo fits
This is a MailWizz issue, and Mailneo can't fix it. If you are weighing a move, Mailneo lets you turn click tracking off per campaign, and sequence steps and newsletters have a preheader field next to the subject. We haven't verified how that field is placed in the sent HTML or how Outlook displays it, so run the same diff test on any tool, ours included. The campaign documentation lists the settings.
Common questions
Is the hidden anchor definitely the cause?
No. The thread's commenters doubted it, and no one confirmed a cause. An empty anchor has no text to show, so check what it contains and check for broken markup before blaming tracking.
Will turning off smart click tracking fix it?
It will show you whether tracking is involved. If the preview is still wrong with tracking off, the problem is in your template.
Why does it look right in Gmail but wrong in Outlook?
Clients choose preview text differently. Gmail and Outlook don't share parsing rules, and the Outlook family doesn't behave uniformly either, so test each client.
Can I stop Outlook from adding body text after my preheader?
Not reliably. Microsoft's Q&A answers say there is no supported sender-side way to end the preview. The dependable approach is a long, complete preheader as the first text in the message.
Explore: Email Marketing Strategy
Related Articles
MailWizz "License is already registered to another instance"
MailWizz returns "This license is already registered to another MailWizz instance" when the license server has your key tied to a different install than the one asking. Find and shut down the duplicate, then re-save the key on your real install, or ask MailWizz to release the registration.
414 Request-URI Too Large in n8n's Amazon SES node: fix
The error 414 Request-URI Too Large in n8n's AWS SES node means a server in the path refused a request whose URL was too long, which a long HTML body can cause when it travels in the URL. Send through the SES v2 API with an HTTP Request node, or use SES SMTP.
Access denied, bad outbound sender: Outlook cold email fix
"Access denied, bad outbound sender" (550 5.1.8) means Microsoft 365 has put your mailbox on its restricted users list for spam-like sending. An admin must unblock it under Restricted entities in the Microsoft Defender portal. Then clean your list, lower your volume and resume gradually.
Acoustic Campaign "Application error" on login: bookmark fix
Acoustic Campaign shows "application error" at login when you open it from a bookmark saved while you were logged in, because the bookmark carries the old session. Log out, type your pod URL (campaign-us-[X].goacoustic.com) into the address bar, log in, then save a fresh bookmark.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free