Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Audience Information via JS

Avatar

Level 1

Does anyone know a way to get the audience information of a running test in the Chrome console using javascript.

 

What I want to be able to figure out is what criteria were met in the audience for the test to trigger. This isn't for debugging but going to be used for tagging information. The test is currently replacing some analytics tags and the only place I can see to find the information that is being lost is in the audience but I don't know how to get that audience information using Javascript.

Topics

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

2 Replies

Avatar

Level 2

Hi @Asher_Trager 

 

Adobe Target doesn’t directly expose audience information through JavaScript in the console. But you can implement custom logic to capture and store the necessary audience data, making it accessible in the console or for further tracking/tagging. Using localStorage, sessionStorage, or cookies will give you a way to persist the information across sessions.

Avatar

Level 5

HI @Asher_Trager ,

 

To get all the audience-related information for a running AT activity using JS, first load the page where the activity is expected to trigger. Open the Chrome network tab and inspect the Target network response to identify the activity ID, experience name, and other metadata.

 

Since Adobe Target doesn’t expose audience logic directly, maintain a separate mapping between activity IDs and their associated audience names for reference. If your implementation uses targetPageParamsAll(), you can extract audience-related parameters directly through JavaScript to see which audience was matched.

 

Let me know if it works or you need more help.

Thanks.