How to expose AEM Remote SPA content to Target | Community
Skip to main content
Level 2
June 22, 2023
Solved

How to expose AEM Remote SPA content to Target

  • June 22, 2023
  • 1 reply
  • 662 views

Hi Team,

Out project is AEM Remote SPA, All aem components data exposed via .model.json, so rendering does happen only on react. In this case how to expose content (lets say experience fragments or any AEM content).

Do we need to create any AEM components specifically for Target or Please do provide any solutions.

 

Thanks in Advance
Saikiran

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 Tanika02

Hello @gskittu - 

 

If you're using the AEM Remote SPA approach and rendering all components on the React side, you can still expose AEM content, such as Experience Fragments, to be consumed in your React application. Here are a few approaches you can consider:

 

  • Expose AEM content via custom API endpoints

  • Use AEM Content Services 

  • Leverage GraphQL

  • Integrate with Adobe Target: If you're specifically looking to integrate Adobe Target with your React application, you can use the Adobe Target JavaScript SDK. This SDK allows you to personalize content based on Target activities and criteria. You can leverage the SDK's APIs to retrieve personalized content from Target and render it in your React application.

 

Regards,

Tanika 😊

 

1 reply

Tanika02
Tanika02Accepted solution
Level 7
June 22, 2023

Hello @gskittu - 

 

If you're using the AEM Remote SPA approach and rendering all components on the React side, you can still expose AEM content, such as Experience Fragments, to be consumed in your React application. Here are a few approaches you can consider:

 

  • Expose AEM content via custom API endpoints

  • Use AEM Content Services 

  • Leverage GraphQL

  • Integrate with Adobe Target: If you're specifically looking to integrate Adobe Target with your React application, you can use the Adobe Target JavaScript SDK. This SDK allows you to personalize content based on Target activities and criteria. You can leverage the SDK's APIs to retrieve personalized content from Target and render it in your React application.

 

Regards,

Tanika 😊