Campaigns
Member custom attributes
Tag members with campaigns, and use those tags to target campaigns and promotions.
Every member can have custom attributes, key/value pairs you define yourself, such as user: craftsman or favouriteStore: Belgrade. Your integration can set them when it creates or updates a member, and campaigns can add, change and remove them automatically.
Effects
| Effect | What it does |
|---|---|
| Add member custom attribute | Adds a key with a value to the member. |
| Update member custom attribute | Changes the value of a key the member already has. |
| Delete member custom attribute | Removes a key from the member. |
These effects are available in every campaign rule. See Rules and effects.
Example: tag craftsmen
A hardware store wants to treat professional craftsmen differently from other customers.
- Tag them at registration with a Direct campaign and the Registration trigger. Add the condition Registration place equals the trade counter, and the effect Add member custom attribute with key
userand valuecraftsman. - In other campaigns, add the condition Has custom attribute on member
user=craftsman, for example to give craftsmen extra points on every purchase. - Later, another campaign can change the value with Update member custom attribute, or remove the tag with Delete member custom attribute, for example when a member's status changes.
Where custom attributes are used
Campaigns use them through the Has custom attribute on member condition, and promotions through the Custom attributes fields in the Segmentation section. Through the API, send customAttributes when you create or update a member.