web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Hide "View in Browser" while viewing Email in Browser

(0) ShareShare
ReportReport
Posted on by 87

Hello community,


I have integrated the "View in Browser" functionality in my marketing mails.

The recipient can now view the mail in the browser if the mail is not displayed correctly. But the browser also shows the "View in Browser", which doesn't make any sense to me. The contact is already in his browser.

Is there a way to hide this text if the contact has already opened the email in the browser?

Thank you and regards

Ferdinand 

I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi Ferdinand,

    Unfortunately, you can't hide or show it based on email opening ways if you have added it to the email.

    In Marketing emails, we can add advanced logical processing to email designs:

    Conditional (if-then-else) statements display content depending on whether one or more conditional expressions resolve to true or false. 

    But we can't get email opening ways through it.

    https://learn.microsoft.com/en-us/dynamics365/marketing/dynamic-email-content 

  • Verified answer
    Ferdinand Ganter Profile Picture
    87 on at

    Hi there Leah,

    thanks for your quick answer. Maybe I thought about a small javascript, which will load when Browser is open and hide the Text fiel.

    like this:

    if (navigator.userAgent.indexOf("Outlook") > -1) {

     // The user is using Outlook

    } else {

     // The user is not using Outlook

     document.getElementById("WebbrowserLink").style.display = "none";

    }

    But in my mind, JS is not Loading in E-Mail but in Browser so maybe i only need the   document.getElementById("WebbrowserLink").style.display = "none"; or is there anything I should mind?

    Thanks

    Best Regards

    Ferdinand

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 182 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 123

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans