Expand my Community achievements bar.

Join Adobe Journey Optimizer product experts for a live Ask Me Anything on October 15th at 8 AM PT about Expanding Your Mobile Reach with RCS & WhatsApp in AJO!

How to define an mirror page url for ajo api triggered campaigns

Avatar

Level 1

help me how to define an mirror page url function with ajo api triggered marketing email templates, using below reference

<% 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="<%@ include view='MirrorPageUrl' %>" _label="Mirror Page" _type="mirrorPage">click here</a></font></p><% } %>

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

@Nutsa9858 You can setup using the OOTB link type (Mirror page) to generate a mirror page in marketing email templates. This also applies to the API triggered marketing campaigns. Have a look at this documentation,

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/channels/email/design-email/add-c...

 

Thanks, Sathees

Avatar

Employee Advisor

@Nutsa9858 

use built-in personalization block designed for this purpose. Instead of custom scripting, you simply use the special tag in your email HTML content. 
https://experienceleague.adobe.com/en/docs/campaign-web/v8/content/email-design/design-content/mirro...
Example usage:

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

 

If you are using AJO’s email designer, follow these steps:

  • Select the text or image where you want to add the mirror page link.
  • Click the “Insert Link” option.
  • Use the personalization or fragments menu to select “Mirror page URL.”