Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Can You Use Targeting Mode Within Offers / Experience Fragments

Avatar

Level 1

Hi all,

 

we are working on a scenario that requires us to build personalized template blocks. An easy example for this scenario would be: 

  • we have three different audiences
  • we have one banner (picture with text and button) for each segment
  • depending on the audience we want a different banner to be shown to the target audience
  • Now the crucial part: we will use the same banner on multiple sites and don't want to apply all rules via targeting mode every single time
  • We are currently trying to solve this only using contexthub, excluding Target

 

Our first idea was to create an experience fragment and apply the targeting activity there. Unfortunately targeting mode does not seem to be available there, the same goes for the offers editor. 

 

In reality, we will not have only 3 but over 60 different variations for the banner which we would need to apply to every single instance.

 

Is there a workaround for this request or an alternate solution? We would be happy for any ideas, workarounds, or guidance.

 

Thank you in advance

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

One possible solution could be to author the banner in a regular page(not experience fragment) and then use reference component to pull in the banner node from the source page. 

https://helpx.adobe.com/in/experience-manager/6-3/sites/authoring/using/default-components-foundatio...

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

One possible solution could be to author the banner in a regular page(not experience fragment) and then use reference component to pull in the banner node from the source page. 

https://helpx.adobe.com/in/experience-manager/6-3/sites/authoring/using/default-components-foundatio...

Avatar

Level 1
Level 1
Hello Kunal, Thanks for your help! I just want to clarify something briefly. We have AEM 6.5 and in AEM 6.5 are Foundation Components deprecated. Core Components are recommended as an appropriate replacement. Are we on the right track with Content Fragment Component or can you recommend another effective approach for AEM 6.5? Thanks and cheers!

Avatar

Employee Advisor
Yes the foundation components are deprecated. But since there is no alternate yet available in core components, you can create your own version of reference component. It should be easy to build and it will be good if you can contribute it to core components project as well.