Expand my Community achievements bar.

Applications for the 2024 Adobe Target Community Mentorship Program are open! Click to the right to learn more about participating as either an Aspirant, to professionally level up with a new Certification, or as a Mentor, to share your Adobe Target expertise and inspire through your leadership! Submit your application today.
SOLVED

Target Profile script

Avatar

Level 2

Hi All,

 

Already create profile script for one of the campaign but in audience segments its not executed, so how we can setting it up. Please suggest. 

 

 

Thanks,

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

hi @Raj9  - would suggest enabling your profile script under Response Tokens and then check on the experience-page whether you are getting the expected value returned back. 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

hi @Raj9  - would suggest enabling your profile script under Response Tokens and then check on the experience-page whether you are getting the expected value returned back. 

Avatar

Community Advisor

Hi 
@Raj9 you can fetch the mbox trace and append it at the end of the url as query parameter like this > https://www.abc.com/default.html?mboxTrace=window&authorization=5e08b9c9-e889-4087-a4a4-d02913595627 

 

Then open developer tools , filter for "delivery" call > go to preview > execute > pageload >trace > profile > afterExecutionProfileSnapshot > profileAttributes

 

See if you are able to find the profile script whih you have set and if it is returning the desired value.

 

If it has not the expected value then you might need to qualify for profile script firtst or fix the script.

 

Hope this helps.

 

Avatar

Community Advisor

Hi @Raj9,

the colleagues here have already explained it. Nevertheless, here again an overview of what you can do:


If you have created a Profile Script - and activated it. You can create a new Audience and select Visitor Profile. Here you can select the appropriate attribute.

If your attribute does not appear here - I recommend you to search for your attribute under Administration > Response tokens - if it does not appear here yet - you can also add and activate your profile attribute manually with Add Response Token.
Depending on what your profile script does - I would test this once. Example - if your profile script checks that you have visited page X on the website - that you visit this page once.

 

Then you can search > in the Developer Tools > Network your request accordingly. In the payload you can see under prefetch > views > 0 > profileParameters your profile parameters which are activated. If your variable name does not appear here - it is not set (here you should check your profile script again).
If this is an AEC setup - you can also use the Adobe Experience Cloud Debugger. The request payload is also displayed here - or you can output the desired profile values in a test activity.

 

Hope this helps you.