Expand my Community achievements bar.

Take 10 minutes to complete an Adobe Target review on Gartner Peer Insights, and as a thank you for your time, you’ll have the option to receive a $25 gift card!

Fetching the activity URL using the API

Avatar

Level 2

We have a requirement to notify authors if their experiences are rendered properly. To achieve this, we need to retrieve the activity location (URL) to incorporate it into a Puppeteer script.

 

I have already explored the Target API, and it seems that the Activity Location is the only missing information from the response.

 

Is there any way of fetching the activity URL using the API?

Thank you!

Topics

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

2 Replies

Avatar

Employee Advisor

I don't believe Activity URL is available anywhere via API - in case you're open to alternatives, you could configure an event listener based on the Content Rendering Failed event (more info here) and then send an event/notification to alert that the failure happened

Avatar

Level 2

Sounds good.

 

Unfortunately, the process of deploying updated Launch tags for testing purposes is not feasible. I tried adding the custom event as custom code within an activity, but it did not work as expected.

 

Do you have any suggestions for debugging?

 

Appreciate it!