Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Adobe target AEM direct integration using context hub, activity not working in local publish instance

Avatar

Avatar
Validate 1
Level 4
cqsapientu69896
Level 4

Likes

22 likes

Total Posts

76 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Validate 1
Level 4
cqsapientu69896
Level 4

Likes

22 likes

Total Posts

76 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
cqsapientu69896
Level 4

23-10-2018

We are doing AEM to Adobe target direct integration(not via DTM) using contexthub. We have followed all integration steps, bu the activity is not working properly in local publish instance. The activity created in local AEM instance is getting synced properly in the Adobe target cloud environment, but when the page is loaded in local publish instance - there is java-script error on page  -

1603804_pastedImage_0.png

registration.html:153 Uncaught ReferenceError: CQ_Analytics is not defined

    at registration.html:153

contexthub tries to load the default experience - while it should be loading a different experience, since the experience is targeted to chrome users and we are opening the page on chrome browser.

CQ_Analytics.TestTarget.defaults[mboxName] = "\/content\/sitename\/registration\/jcr:content\/root\/responsivegrid\/container\/par\/teaser\/default.html";

In my opinion CQ_Analytics should not be loaded since we are using contexthub and not clientcontext

Has anyone used used targeting using Adobe target on local publish instance ?

Any pointers will be much appreciated.

Replies

Avatar

Avatar
Coach
Employee
mikewebguy
Employee

Likes

630 likes

Total Posts

402 posts

Correct Reply

85 solutions
Top badges earned
Coach
Contributor
Shape 25
Shape 1
Shape 10
View profile

Avatar
Coach
Employee
mikewebguy
Employee

Likes

630 likes

Total Posts

402 posts

Correct Reply

85 solutions
Top badges earned
Coach
Contributor
Shape 25
Shape 1
Shape 10
View profile
mikewebguy
Employee

24-10-2018

cqsapientu69896437​,

I'm not sure what the answer to y our question is however I do recommend also posting this here: AEM - Questions​ Hope this helps you.

Mihnea Docea  | Technical Support Rep, Customer Care | Customer & Employee Experience | Adobe | (:: 1 (800) 497-0335