Adding anonymous properties
While an identity is not required to add properties, it is highly recommended, since this will let you identify and respond to recipients directly within our application. If however, this isn't possible, to do this, simply exclude identity
, identity_type
, first_name
, and last_name
. The additional javascript would, therefore, look like this:
<script>
var Zenloop = window.Zenloop || {};
Zenloop.recipient = {
properties: {
color: ['red', 'blue'],
height: [100, 200, 300]
}
};
</script>
Updated over 2 years ago
What’s Next