Debugging custom attribute returned value into experience
Hi,
I'm looking to get the value of a custom attribute dynamically logged into one experience. We have a custom attribute set up as 'Customer Attributes.lifestage'. I know that this is server side data by is there a way I can return this value straight into the custom code area of an A/B experience.
I do not want to set this up as an audience as we want to dynamically change the copy based on the customer attribute value. For example, something like:
if (CustomerAttr.lifestage === "Retired") {
console.log('User is retired');
} else {
console.log('User is not retired');
}Any help is appreciated!
Thanks
Sam