Audiences enable you to target variations of content at visitors who match a particular set of characteristics for the purpose of personalisation.
Before you can create an audience, you’ll need to have defined one or more audience attributes. For more information, please see the audience attributes section.
To create an audience:
After you have created an audience, you can begin to configure the conditions that a visitor must meet in order to be included in that audience.
When configuring audience conditions, there are three condition types to choose from:
Name | Example | Description |
---|---|---|
Attribute | Age is 20 | Compares the value of the selected attribute with a specific value |
And | Age is greater than 20 AND Age is less than 30 | Creates a nested group of conditions. Will only evaluate as a match if all nested conditions are matched |
Or | Age is 25 OR Age is 30 | Similar to the And condition, except that this condition will evaluate as a match if any of the nested conditions are matched |
To configure an Attribute condition:
As mentioned above, the types of comparison that can be made against an attribute will depend on the type of the attribute itself.
Supported Comparison Types |
---|
Equals |
Supported Comparison Types |
---|
Equals |
Greater Than |
Greater Than or Equal To |
Less Than |
Less Than or Equal To |
Supported Comparison Types |
---|
Contains |
Equals |
To configure an And or an Or condition:
Once you have finished creating and configuring your audiences, all that’s left is to setup which content variations should be delivered to which audiences.
To assign an audience to a content variation:
Now that you have defined your audience attributes, configured your audiences and assigned your audiences to some variations, you can begin requesting content which is personalised to the intended audience.
Retrieving personalised content is as simple as providing some additional context with each request to the Content Delivery API. This context will then be used to calculate which audiences the request fits within, allowing us to return only the content which is targetted at that audience.
For more information on how this works and for some code examples, please see the request context section of the Content Delivery API documentation.
© 2022 Status200 Ltd.