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.
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 help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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? if so, please share the details of the cloud configuration?
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}]}}
Views
Replies
Total Likes
I have created a dummy analytics framework configuration and also specified this configuration in the Target setup, but I am still encountering the same issue. In your case, did you create a separate IMS configuration for Analytics? If so, could you please let me know? Thank you.
Error.log:
2025-09-10 05:05:53 - INFO - test_and_target : Creating content for path /content/campaigns/project/targeting/personalization/tablet/customrte_copy
2025-09-10 05:05:53 - INFO - test_and_target : Creating content for path /content/campaigns/project/targeting/personalization/safari/customrte_copy
2025-09-10 05:05:53 - INFO - test_and_target : Creating content for path /content/site/en/testpage
2025-09-10 05:07:30 - ERROR - test_and_target : Error replicating /content/campaigns/project/targeting/personalization/safari/customrte_copy - com.day.cq.analytics.testandtarget.TestandtargetException : com.adobe.tsdk.common.TSDKException: Unable to parse goalsandsettings from json.
2025-09-10 05:09:10 - ERROR - test_and_target : Error replicating /content/campaigns/project/targeting/personalization/safari/customrte_copy - com.day.cq.analytics.testandtarget.TestandtargetException : com.adobe.tsdk.common.TSDKException: Unable to parse goalsandsettings from json.
2025-09-10 05:10:50 - ERROR - test_and_target : Error replicating /content/campaigns/project/targeting/personalization/safari/customrte_copy - com.day.cq.analytics.testandtarget.TestandtargetException : com.adobe.tsdk.common.TSDKException: Unable to parse goalsandsettings from json.
2025-09-10 05:12:30 - ERROR - test_and_target : Error replicating /content/campaigns/project/targeting/personalization/safari/customrte_copy - com.day.cq.analytics.testandtarget.TestandtargetException : com.adobe.tsdk.common.TSDKException: Unable to parse goalsandsettings from json.
2025-09-10 05:14:10 - ERROR - test_and_target : Error replicating /content/campaigns/project/targeting/personalization/safari/customrte_copy - com.day.cq.analytics.testandtarget.TestandtargetException : com.adobe.tsdk.common.TSDKException: Unable to parse goalsandsettings from json.
2025-09-10 05:15:51 - ERROR - test_and_target : Error replicating /content/campaigns/project/targeting/personalization/safari/customrte_copy - com.day.cq.analytics.testandtarget.TestandtargetException : com.adobe.tsdk.common.TSDKException: Unable to parse goalsandsettings from json.
Views
Replies
Total Likes