After successfully creating the custom attribute in Personalize, you can add it to an Audience for better content targeting.
Note: We assumed that you have already created a Personalize project. If not, follow this guide to create a project in Personalize.
How to add a custom attribute to an audience as a rule.
How to set the attribute, operator, and value for a rule.
How to add multiple preset and custom attributes to an audience.
After creating a custom attribute, you can add it to an Audience. Log in to your Contentstack account and perform the following steps:
Note: If you have an existing Audience in your Personalize project, open it or click the corresponding vertical ellipses under the Actions section, select Edit, and jump directly to step 5.
To add the custom attribute:
Similarly, you can add multiple attributes (preset and custom) to an Audience.
Additional Resource: You can use the Personalize Edge API to set and update user attributes.
This adds the new custom attribute to your audience.