Hi All,
Is it possible to ingest subscription and consent data to AJO default system generated schema dataset 'AJO Consent Service Dataset' using API or Web SDK? If yes, please share some details on how to ingest it.
Schema: AJO Consent Service Schema
Dataset: AJO Consent Service Dataset
Thanks,
Sneha
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @Sneha-Parmar
You will have to add Consent and Preferences field group to the Profile Schema and then you can use HTTP API update the field group values against a profile.
This is a simple payload you can use for HTTP API
var json=
{
"optInOut":{
"_channels":{
"sms": localStorage.getItem('optin_sms'),
"email": localStorage.getItem('optin_email'),
"phone": localStorage.getItem('optin_phone'),
"directMail": localStorage.getItem('optin_dm')
}
},
"SANDBOX_IDNETIFIER":{
"identity":{
"ecid": _satellite.getVar('ECID'),
"email":localStorage.getItem('email')
}
}
};
Same payload can be used to append the subscriptions object mentioned in this document.
Views
Replies
Total Likes
Kindly take a look at the following documentation https://experienceleague.adobe.com/en/docs/experience-platform/landing/governance-privacy-security/c...
Consent dataset is a system dataset used by the AJO consent service, and it's not advisable to modify it.
Instead,
Additional reference
Hello @Sneha-Parmar
You will have to add Consent and Preferences field group to the Profile Schema and then you can use HTTP API update the field group values against a profile.
This is a simple payload you can use for HTTP API
var json=
{
"optInOut":{
"_channels":{
"sms": localStorage.getItem('optin_sms'),
"email": localStorage.getItem('optin_email'),
"phone": localStorage.getItem('optin_phone'),
"directMail": localStorage.getItem('optin_dm')
}
},
"SANDBOX_IDNETIFIER":{
"identity":{
"ecid": _satellite.getVar('ECID'),
"email":localStorage.getItem('email')
}
}
};
Same payload can be used to append the subscriptions object mentioned in this document.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies