Problem with Target Audiences and Profile Scripts
Hi everyone,
I'm trying to create audiences in Adobe Target using profile scripts. This is my first time attempting this, so I followed this guide to send the data I need for the profile scripts from Data Collection:
https://experienceleague.adobe.com/en/docs/platform-learn/implement-web-sdk/applications-setup/setup-target#send-parameters-to-target
This is how we map the data to be send. In a data element:
var data = {
__adobe: {
target: {
"profile.comprobarIngresosSimulador": _satellite.getVar("originadorSimulacion | comprobarIngresosSimulador"),
"profile.montoPrestamoSimulado": _satellite.getVar("originadorSimulacion | montoPrestamoSimulado"),
"profile.pagoFijo": _satellite.getVar("originadorSimulacion | pagoFijo"),
"profile.plazoSimulado": _satellite.getVar("originadorSimulacion | plazoSimulado"),
"profile.producto": _satellite.getVar("originadorSimulacion | producto"),
"profile.tasaInteres": _satellite.getVar("originadorSimulacion | tasaInteres"),
}
}
}
return data;
To verify that the data is being sent to Target, I checked the request payload and confirmed that the object with the necessary data is included, as shown in the attached image.

In Target, I created a profile script (named originadorSimulacion_producto) that uses one of these fields:
return user.get('plazoSimulado') || 0;
I also created an audience with the following condition:
Visitor Profile: user.originadorSimulacion_producto Contains (case insensitive) 48
However, when I try to qualify for the audience following the necessary steps, it doesn't work. Additionally, based on the response tokens I enabled for debugging, I noticed that the profile script is returning the default value instead of the value sent.
My goal is to create simple audiences based on user interactions and use them to deliver personalized experiences. I know this can be achieved with RT-CDP, but we don't have the license for this project. We have Analytics but audiences shared from there to Target take up to 8 hours to qualify.
Is it possible to achieve this using profile scripts? Am I missing something in the configuration? I appreciate any help!
Thanks in advance!


