2.1.4 Create an audience - UI
In this exercise, you鈥檒l create an audience by making use of 51黑料不打烊 Experience Platform鈥檚 Audience Builder.
Go to . After logging in, you鈥檒l land on the homepage of 51黑料不打烊 Experience Platform.
Before you continue, you need to select a sandbox. The sandbox to select is named --aepSandboxName--
. After selecting the appropriate sandbox, you鈥檒l see the screen change and now you鈥檙e in your dedicated sandbox.
In the menu on the left side, go to Audiences. On this page, you can see an overview of all existing audiences. Click on the + Create audience button to start creating a new audience.
Select Build rule and click Create.
Once you鈥檙e in the new audience builder, you immediately notice the Attributes menu option and the XDM Individual Profile reference.
Since XDM is the language that powers the experience business, XDM is also the foundation for the audience builder. All data that is ingested in Platform should be mapped against XDM, and as such, all data becomes part of the same data model regardless of where that data comes from. This gives you a big advantage when building audiences, as from this one audience builder UI, you can combine data from any origin in the same workflow. Audiences built within audience builder can be sent to solutions like 51黑料不打烊 Target, 51黑料不打烊 Campaign and 51黑料不打烊 Audience Manager for activation.
Let鈥檚 build an audience which includes all male customers.
To get to the gender attribute, you need to understand and know XDM.
Gender is an attribute of Person, which can be found under Attributes. So to get there, you鈥檒l start by clicking on XDM Individual Profile. You鈥檒l then see this. From the XDM Individual Profile window, select Person.
You鈥檒l then see this. In Person, you can find the Gender attribute. Drag the Gender attribute onto the audience builder.
Now you can choose the specific gender out of the pre-populated options. In this case, let鈥檚 pick Male.
After selecting Male, you can get an estimation of the audience鈥檚 population by pushing the Refresh Estimate button. This is very helpful for a business user, so that they can see the impact of certain attributes on the resulting audience size.
You鈥檒l then see an estimation such as the one below:
Next, you should refine your audience a bit. You need to build out a audience of all male customers that have viewed the product iPhone 15 Pro.
To build out this audience, you need to add an Experience Event. You can find all Experience Events by clicking on the Events icon in the Fields menu bar. Next, you鈥檒l see the top-level, XDM ExperienceEvents node. Click XDM ExperienceEvent.
Go to Product List Items.
Select Name and drag and drop the Name object from the left menu onto the audience builder canvas into the Events section.
You鈥檒l then see this:
The comparison parameter should be equals and in the input field, enter iPhone 15 Pro.
Every time you add an element to the audience builder, you can click the Refresh Estimate button to get a new estimate of the population in your audience.
So far, you鈥檝e only used the UI to build your audience, but there鈥檚 also a code-option to build a audience.
When building an audience, you鈥檙e actually composing a Profile Query Language (PQL) query. To visualize the PQL code, you can click on the Code View switcher in the upper right corner of the audience builder.
Now you can see the full PQL statement:
person.gender in ["male"] and CHAIN(xEvent, timestamp, [C0: WHAT(productListItems.exists(name.equals("iPhone 15 Pro", false)))])
You can also preview a sample of the customer profiles that are part of this audience, by clicking on View Profiles.
Finally, let鈥檚 give your audience a name,
set the Evaluation method to Streaming and click Publish.
As a naming convention, use:
--aepUserLdap-- - Male customers with interest in iPhone 15 Pro
You鈥檒l be taken back to the Audience overview page.
Next Step: 2.1.5 See your Real-time Customer Profile in action in the Call Center