How to define an mirror page url for ajo api triggered campaigns | Community
Skip to main content
Level 2
September 17, 2025
Solved

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

  • September 17, 2025
  • 3 replies
  • 392 views

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><% } %>

Best answer by Mayank_Gandhi

@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/mirror-page
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.”

3 replies

SatheeskannaK
Community Advisor
Community Advisor
September 17, 2025

@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-content/message-tracking#mirror-page

 

Thanks, Sathees
Mayank_Gandhi
Adobe Employee
Mayank_GandhiAdobe EmployeeAccepted solution
Adobe Employee
September 19, 2025

@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/mirror-page
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.”
Sukrity_Wadhwa
Community Manager
Community Manager
October 17, 2025

Hi @nutsa9858,

Were you able to resolve this query with the help of the provided solutions, or do you still need further assistance? Please let us know. If any of the answers were helpful in moving you closer to a resolution, even partially, we encourage you to mark the one that helped the most as the 'Correct Reply.'

Thank you!

Sukrity Wadhwa