User-defined attributes can be used to provide additional information for targeting or segmenting specific user groups.
The user-defined attributes must also be passed in the code.
<script>
var _bb = _bb || [];
_bb.push(["attribute", "pageType", “product_detail”]);
_bb.push(["attribute", "returningCustomer", true]);
_bb.push(["attribute", "customerValue", "12345"]);
_bb.push(["attribute", "lastCategories", ["shoes","shirts","trousers"]]);
</script>
<script src="//cdn.bunchbox.co/[id].min.js"></script>
Attributes are not stored in the client and must be passed each time.
Comments
0 comments
Please sign in to leave a comment.