View email on web | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by LakshmiPravallika

Hi @rasiksj0311 ,

 

Yes, you can configure a different content for the View email in web Browser also. For that you need to create a landing page for the Content which you want to configure for "View in Browser" and then use it in the Mirror Page Url Code as shown below, instead of using the OOTB Personalization Block for Mirror Page.

 

<% if ( document.mode != 'mirror' && document.mode != 'forward' ) { %><p align=center>
<font style="font-family: Verdana, Arial; font-size: 10px">
If you are unable to view this message correctly,
<a href="https://{instance Url to Connect}/webApp/{InternalName}" _label="Mirror Page" _type="mirrorPage">click here</a>
</font>
</p><% } %>

 

Also, Please find the reference link on how to create the Landing Pages.

 

https://experienceleague.adobe.com/docs/campaign-classic/using/designing-content/editing-html-content/creating-a-landing-page.html?lang=en

 

Regards,

Pravallika.

2 replies

LakshmiPravallika
Community Advisor
LakshmiPravallikaCommunity AdvisorAccepted solution
Community Advisor
October 25, 2023

Hi @rasiksj0311 ,

 

Yes, you can configure a different content for the View email in web Browser also. For that you need to create a landing page for the Content which you want to configure for "View in Browser" and then use it in the Mirror Page Url Code as shown below, instead of using the OOTB Personalization Block for Mirror Page.

 

<% if ( document.mode != 'mirror' && document.mode != 'forward' ) { %><p align=center>
<font style="font-family: Verdana, Arial; font-size: 10px">
If you are unable to view this message correctly,
<a href="https://{instance Url to Connect}/webApp/{InternalName}" _label="Mirror Page" _type="mirrorPage">click here</a>
</font>
</p><% } %>

 

Also, Please find the reference link on how to create the Landing Pages.

 

https://experienceleague.adobe.com/docs/campaign-classic/using/designing-content/editing-html-content/creating-a-landing-page.html?lang=en

 

Regards,

Pravallika.

ParthaSarathy
Community Advisor
Community Advisor
October 26, 2023

Hi @rasiksj0311 ,

If you add out of box mirror page personalization block by adding <%@ include view='MirrorPage' %> in HTML, In email body, it will render us below,

 

If you are unable to view this message correctly, click here

 

Instead of above default text content for mirror page, if you want to display other text like 'View email on web', then you can add below syntax in your HTML template.

 

<a href="<%@ include view='MirrorPageUrl' %>" _label="Mirror Page" _type="mirrorPage">View email on web</a>

 

Now in the email body, the above syntax will render us,
View email on web

~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups