I've done as specified in https://docs.adobe.com/docs/en/aem/6-2/author/personalization/content-targeting-touch.html and i'm abel to see the experiences in Author mode, but when i'm using "View as Published" or on Publish instance (after Publishing the page), the targeted components do not show up. Not even the default. WE have a Dispatcher, also checked the permissions to allow personalization ( /libs/cq/personalization ) are set.
Few observations:
What am i missing?
Solved! Go to Solution.
I found the solution to the problem and adding it here for reference:
The default experiences shows with the below changes:
<sly data-sly-test="${!wcmmode.disabled}">
<div data-sly-call="${clientLib.all @ categories='personalization.kernel'}" data-sly-unwrap></div>
<div data-sly-resource="${'config' @ resourceType='cq/personalization/components/clientcontext_optimized/config'}" data-sly-unwrap></div>
<div data-sly-resource="${'contexthub' @ resourceType='granite/contexthub/components/contexthub'}" data-sly-unwrap></div>
</sly>
<sly data-sly-test="${!wcmmode.disabled}">
<div data-sly-include="/libs/cq/cloudserviceconfigs/components/servicelibs/servicelibs.jsp" data-sly-unwrap></div>
<meta data-sly-call="${clientLib.all @ categories='cq.apps.targeting'}" data-sly-unwrap></meta>
</sly>
To just this:
<sly data-sly-resource="${'contexthub' @ resourceType='granite/contexthub/components/contexthub'}"/>
/0036 { /type "allow" /url "/etc/cloudsettings*" }
/0037 { /type "allow" /url "/etc/segmentation*" }
Hi @konathalasuren,
Make sure to replicate the experiences, offer also.
Thanks,
Views
Replies
Total Likes
Yes i published all , expect one i can observe..
On author i can see my Audience under "etc/segmentation/contexthub" but not under Publish. How can i publish them?
Views
Replies
Total Likes
Here's a summary screenshot of the issue..
Views
Replies
Total Likes
I found the solution to the problem and adding it here for reference:
The default experiences shows with the below changes:
<sly data-sly-test="${!wcmmode.disabled}">
<div data-sly-call="${clientLib.all @ categories='personalization.kernel'}" data-sly-unwrap></div>
<div data-sly-resource="${'config' @ resourceType='cq/personalization/components/clientcontext_optimized/config'}" data-sly-unwrap></div>
<div data-sly-resource="${'contexthub' @ resourceType='granite/contexthub/components/contexthub'}" data-sly-unwrap></div>
</sly>
<sly data-sly-test="${!wcmmode.disabled}">
<div data-sly-include="/libs/cq/cloudserviceconfigs/components/servicelibs/servicelibs.jsp" data-sly-unwrap></div>
<meta data-sly-call="${clientLib.all @ categories='cq.apps.targeting'}" data-sly-unwrap></meta>
</sly>
To just this:
<sly data-sly-resource="${'contexthub' @ resourceType='granite/contexthub/components/contexthub'}"/>
/0036 { /type "allow" /url "/etc/cloudsettings*" }
/0037 { /type "allow" /url "/etc/segmentation*" }
Hello -
I am facing the same issue in AEM 6.4 instance. I have created experiences for different audiences and it is working fine preview mode of the author. I have published the page and targeted content is not appearing in the publisher instances, when I access the page.
I have added the rules to dispatcher as below and still it is not showing up in publisher instance. Any idea, what else I am missing here.
/0214 { /type "allow" /url "/conf/global/settings/cloudsettings*" }
/0215 { /type "allow" /url "/conf/dotcom-project/settings/wcm/segments*" }
Views
Replies
Total Likes
I have the same issue on 6.4
I have created experiences for different audiences and it is working fine preview mode of the author. Upon publishing the page, targeted content is not appearing on the publisher.
Views
Replies
Total Likes