Hi, I have to track a variable which is in a form of an array, for e.g.,
I have to track hobbies of a person landing up on my site, so as soon as they log in, I want to send that along with other user details, like their name, age etc. Right now, I am doing something like this,
const contextData = { userName: 'ABC', age: 32 }
ACPCore.trackState('Homepage', contextData);
Now, I want to track hobbies too, let's say hobbies for above user are reading, skating, dancing.
So, I am modifying my existing implementation to,
const contextData = { userName: 'ABC', age: 32, hobbies: ['Reading','Skating','Dancing'] }
ACPCore.trackState('Homepage', contextData);
What changes do I need to make in processing rules to map hobbies which is an array to an evar?