Steps to Integrate AEM with Target

Avatar

Avatar
Ignite 1
Level 2
NehaCMS
Level 2

Likes

19 likes

Total Posts

40 posts

Correct reply

2 solutions
Top badges earned
Ignite 1
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Ignite 1
Level 2
NehaCMS
Level 2

Likes

19 likes

Total Posts

40 posts

Correct reply

2 solutions
Top badges earned
Ignite 1
Validate 1
Boost 5
Boost 3
Boost 10
View profile
NehaCMS
Level 2

17-06-2019

Sharing steps below highlighting integration from AEM to Target (on AEM 6.3.2),considering At.js is enabled till staging servers through DTM.

a. Cloud Configuration done in AEM for Target

b. Enable targeting mode in project

In head.html add below line at the top

<sly data-sly-use.clientLib="/apps/granite/sightly/templates/clientlib.html data-sly-call="${clientlib.js @ categories='granite.utils,cq.analytics'}"/>

b. Before closing body tag, add line in bold below

<cq:include path="cloudservices" resourceType="cq/cloudserviceconfigs/components/servicecomponents"/>

c. In body.html add below line at top

<sly data-sly-resource="${'cloudservices' @ resourceType='cq/cloudserviceconfigs/components/servicecomponents'}"/>

If changes are not getting reflected in AEM for rules applied for different experiences, validate and getting mbox option required issue. To Resolve this , need to install service pack AEM-6.3.3.0-6.3.3. Release Notes available at https://helpx.adobe.com/experience-manager/6-3/release-notes/sp3-release-notes.html