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.
ParthaSarathy
ParthaSarathyAccepted solution
Community Advisor
Jul 3, 2023 7:06 AM UTC

ok @parthasarathy , it's working using:

<a href="<%@ include fragment='MirrorPageUrl' %>" _label="Mirror page" _type="mirrorPage">Click here for Browser version</a>

but when i click and go to web version, this link is still visible. It should be not visible, how can i hide in web version?


@giuliozu ,

You can use OOTB Content block 'Link to mirror page'

Or try below script

<html> <head/> <body> <% if ( document.mode != 'mirror' && document.mode != 'forward' ) { %><p align=center> <font style="font-family: Verdana, Arial; font-size: 10px"> <a href="<%@ include fragment='MirrorPageUrl' %>" _label="Mirror page" _type="mirrorPage">Click here for Browser version</a> </font> </p><% } %> <p>Other Email Body Content</p> </body> </html>

 

~  ParthaSarathy S

12 replies

ParthaSarathy
Community Advisor
Community Advisor
Jul 2, 2023 5:23 AM UTC

Hi @giuliozu ,

You can add out of box mirror page personalization block by adding <%@ include view='MirrorPage' %> in HTML.

 

In email body, it will render us:

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 'Click here for Browser version', then you can add below syntax in your HTML template

<a href="<%@ include view='MirrorPageUrl' %>" _label="Mirror Page" _type="mirrorPage">Click here for Browser version</a>

Now in the email body, the above will render us:

Click here for Browser version

Translate
~  ParthaSarathy S
GiulioZuAuthor
Level 2
Jul 2, 2023 7:41 AM UTC

And automatically Adobe Campaign will hide this cta in web version?

Translate