Shows how to set visitor traits (e.g., age=45
) and sync them to your DCN.
// Set some traits on the current visitor:
optable.instance.profile({ gender: "F", age: 38, favColor: "blue" });
// Set some new traits and update some existing on the current visitor:
optable.instance.profile({ favColor: "green", firstName: "Mary", lastName: "Smith" });