After successfully creating the custom attribute in Personalize, you can add it to an Audience for better content targeting.
Note: For this guide, we have assumed that you have already created a Personalize project. If not, please follow this guide and create a project in Personalize.
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.
Additional Resource: You can use the Personalize Management API to create or update audiences with a custom attribute, delete, and retrieve all existing attributes.