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

AEM 6.2 - Target component (cq/personalization/components/target)

Avatar

Level 4

Hi, everyone.

I'm aware:

  • I can use either the Targeting mode (Touch UI) or the Target menu (cq:disableTargeting="false" - Classic UI) to configure a component with specific values to a particular segment;
  • This is supposed to work for campaigns created with either Adobe Target or ContextHub as engine.

But I have a few questions about the "Target component" (cq/personalization/components/target):

  1. Would it work for campaigns whose the selected engine is ContextHub?
  2. How can I configure which components are allowed inside a Target component? Am I supposed to extend the component in order to preconfigure the allowed children?
  3. Besides the Target component, is there any other way of configuring a group of component instances, inside a page, that should appear only to a specific segment?

Thanks in advance!

Best regards,

Daniel.

1 Accepted Solution

Avatar

Correct answer by
Administrator

Reply for one more expert here:

>>>  Would it work for campaigns whose the selected engine is ContextHub?
Yes, it works the same regardless of the targeting engine
 
>>> How can i configure which components are allowed inside a Target component? Should we need to extend the component in order to preconfigure the allowed children?
The target component inherits from the foundation parsys, so the allowed components should be configurable via the Design mode.

I hope this helps.

~kautuk



Kautuk Sahni

View solution in original post

5 Replies

Avatar

Administrator

I have asked Feike to share thoughts on this.

~kautuk



Kautuk Sahni

Avatar

Employee

To me you can just use components inside your parsys/layoutContainer.

Then each of those components can be targeted.

Avatar

Administrator

Hi Daniel

Did Feike's response serve the need?

~kautuk



Kautuk Sahni

Avatar

Correct answer by
Administrator

Reply for one more expert here:

>>>  Would it work for campaigns whose the selected engine is ContextHub?
Yes, it works the same regardless of the targeting engine
 
>>> How can i configure which components are allowed inside a Target component? Should we need to extend the component in order to preconfigure the allowed children?
The target component inherits from the foundation parsys, so the allowed components should be configurable via the Design mode.

I hope this helps.

~kautuk



Kautuk Sahni

Avatar

Level 2

Its been a while since the answer was given... Are there any restrictions of contexthub to target a layout container / parsys ?

I have components such as accordions or tabs that when targetted, content in the embedded inner layout container disappears and cannot have variations. It doesn't matter if there are components added or not.

Any help, greatly appreciated.