Expand my Community achievements bar.

SOLVED

custom audience in Adobe Target

Avatar

Level 1

Hi, I am attempting to create a custom audience via profile script in Adobe Target, and I need to retrieve an attribute directly from the website's source code, specifically from a method called controller.m_defaultRow("").

I am getting the error "Invalid User Input" as shown below (marked in green):

UmaGa1_0-1700202580084.png

 

Use-Case of the personalization is like this: For 10% of the visitors who have Marital Status as Single will be presented with Experience A and rest 90% as Experience B. 

 

My question is how to create the custom audience for the above? We don't have any analytics variable mapping for the same attribute.

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @gavii,

 

Profile scripts are executed server side so they don't have access to the page or DOM. You would have to pass the data into Target using an mbox request and then use it in a profile script.

More can be found in the below documentation. Profile Script FAQ states the same thing that I mentioned above

https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/profile-parameters.h...

 

Cheers,

Abhinav

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @gavii,

 

Profile scripts are executed server side so they don't have access to the page or DOM. You would have to pass the data into Target using an mbox request and then use it in a profile script.

More can be found in the below documentation. Profile Script FAQ states the same thing that I mentioned above

https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/profile-parameters.h...

 

Cheers,

Abhinav