Custom Properties Filtering
Javascript API can be used to set custom properties and for campaigns filtering. For example, the following code is used to set custom properties.
OnVoard('prompt', 'setCustomProperties', {
'logged_in': true,
'source': 'google',
});
Next, we'll edit campaign and specify conditions to filter by custom properties.

In the campaign editor, open Custom properties and click Condition to add a rule. Each rule picks a property, a comparison and a value, so a rule reading logged_in equal true shows the campaign only to visitors your site has marked as logged in.

