How to create a custom segmentation of your audience
Voucherify enables you to pass any custom property (text, number, date, and flag) to your customers' profiles and build segments based on attached attributes. In this tutorial, we are going to show you how to use Voucherify metadata engine to create a flexible customer segmentation tightly fitted to your business needs.
Note: This guide assumes you have already familiarized yourself with Customer segments' basics described in this short tutorial.
Firstly, what's metadata?
Metadata is an overall name of all properties which you assign to your Voucherify objects (customers, vouchers, campaigns, products, SKUs, and redemptions) and which aren't built-in attributes available in the app.
How can I use metadata to create customer segments?
There are two ways of using metadata while creating customer segments:
Your properties are strings.
The string is a sequence of alphanumeric text or other symbols, and their values cannot be treated as numbers or dates.
While creating or importing customers to Voucherify, you can add to customer profiles as many metadata properties as you like. Then, you can use these properties to build a segment. For example, you can assign a metadata property called "source_channel" and add respective values to your customers:
- source_channel: 'landing page'
- source_channel: 'twitter'
- source_channel: 'email list'
In this case, the system will always find properties' and their values as strings (not numbers, not dates and not flags).
You can add metadata properties while creating customers through API or the dashboard and by importing a CSV file. Then, you can leverage added properties and their values to build a customer segment.
When you already create a segment based on a metadata property you can use it to build validation rules.
Your metadata are different types (text, numbers, objects, flags)
If you'd like to extend metadata types to flags (true, false), numbers or dates, you can use a Schema Validator. The Schema enables you to automatically assign custom properties of all types (strings, flags, numbers, and dates) to each customer and then, build flexible metadata-based segments.
The Schema Validator defines default metadata properties for all objects amongst a single project. If you are not familiar with the Schema Validator yet, please follow this guide firstly.
By using the Schema, each new and existing customer is automatically supplied with added metadata properties.
- Define Schema Validator
- Add customers (1:17)
- Create a metadata-based segment (2:12)
- Use the custom segment while creating campaign's validation rules (3:21)
Customer segments with custom events
With Voucheirfy, you can also build dynamic customer segments and tailored validation rules based on specific events performed by your audience (like a cart abandonment, order paid, redemption succeeded, and many more). You can see the detailed tutorial here.