Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Replication Error in AEM-Adobe Target Integration Due to Goal Metrics

Avatar

Level 5

Hello,

We have an AEM integration in place with Adobe Target. We're encountering a replication error when publishing pages that contain activities. Saving the activities works fine—there are no errors, and the activities are successfully synced to the Target workspace. However, when we attempt to publish the page, we receive an error related to Goal Metrics.Please note that we don't require any tracking.

Has anyone experienced this issue before? If so, what was the resolution? Any insights or guidance would be greatly appreciated.

 

test1234567_0-1757381053720.png

 

Error.log:
2025-09-08 20:08:36 - ERROR - test_and_target : Error replicating /content/campaigns/project/experience/test-experience - com.day.cq.analytics.testandtarget.TestandtargetException : com.adobe.tsdk.common.TSDKException: Unable to parse goalsandsettings from json.

metricsJson:
{"goals":{"metrics":[{"title":"MY PRIMARY GOAL","postGoalSuccessAction":"","type":"engagement","worth":"","engagementType":"pageViews","metricLocalId":10}]}}

 

@davidjgonzalezzzz @EstebanBustamante @RiteshY18 @Gokul_Agiwal @Umesh_Thakur @pradnya_balvir @Amelia_Waliany @ParitMittal @pradnya_balvir
@Umesh_Thakur @AmitVishwakarma 

  

Topics

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

2 Replies

Avatar

Community Advisor

You change your name here sir/mam, not feeling good to call by this name....

It seems you are missing AT Analytics config and Framework configuration, even though you are not using any reporting source that configuration should be there in place.

While I was doing this integration with AEM 6.5, there was a product bug that was not letting me to publish the page so if you can share more stacktrace then I can tell you but for now you go ahead with AT4 and Framework config and see whether It is working or not.

Hope this helps

Umesh Thakur

Avatar

Level 5

Thanks for your reply. Actually, we're not using any reporting source for this setup. I have already changed the disabled flag to false to enable selection, but it appears that a cloud configuration for analytics is required in order to make a selection.

Could you let me know if you had to create a cloud configuration for analytics? Also, if possible, could you share your sample metricsJson so that I can compare and see if anything is missing in my JSON?


/libs/cq/analytics/components/testandtargetpage/dialog/items/tabs/items/tab1_general/items/a4tAnalyticsConfig

metricsJson:
{"goals":{"metrics":[{"title":"MY PRIMARY GOAL","postGoalSuccessAction":"","type":"engagement","worth":"","engagementType":"pageViews","metricLocalId":10}]}}