Retrieving and Verifying Adobe Target Selectors for All Activities and Experiences | Community
Skip to main content
miahi
Level 2
April 29, 2024
Solved

Retrieving and Verifying Adobe Target Selectors for All Activities and Experiences

  • April 29, 2024
  • 1 reply
  • 738 views

Hello all,

I need to ensure that all activities and experiences are being rendered correctly. Given that we have over 50 activities, I cannot check this manually.

After reviewing the documentation on the getOffers function in at.js 2.0 and the Delivery API, I haven't found a clear example that suits my needs.

Could anyone share insights or examples of how to retrieve the selectors for all running activities and experiences?

  • Specifically, I am looking for a way to programmatically check each selector to confirm that they are rendering as expected on our site.

Any advice or pointers to relevant documentation or code samples would be greatly appreciated!

Thanks in advance for your help!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by alexbishop

One option might be to use a Custom Event - you could set up a listener for the Content Rendering Failed event (more info here) and then send then log that occurrence somewhere (i.e., your web analytics tool)

1 reply

alexbishop
Adobe Employee
alexbishopAdobe EmployeeAccepted solution
Adobe Employee
May 1, 2024

One option might be to use a Custom Event - you could set up a listener for the Content Rendering Failed event (more info here) and then send then log that occurrence somewhere (i.e., your web analytics tool)

miahi
miahiAuthor
Level 2
May 2, 2024

Exactly what I needed. Thank you @alexbishop