custom audience in Adobe Target | Community
Skip to main content
November 17, 2023
Solved

custom audience in Adobe Target

  • November 17, 2023
  • 1 reply
  • 1557 views

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):

 

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.

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 abhinavbalooni

Hi @umaga1,

 

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.html?lang=en

 

Cheers,

Abhinav

 

1 reply

abhinavbalooni
Community Advisor
abhinavbalooniCommunity AdvisorAccepted solution
Community Advisor
November 17, 2023

Hi @umaga1,

 

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.html?lang=en

 

Cheers,

Abhinav