Step 1: Consider your User Data

The first step will be to consider what kind of user data such as attributes or segments that you want to pass into Search.

For the purpose of this guide, we will follow a consistent mock example using three hypothetical properties that we know about our user base.

Example User Data

Let’s imagine you have the following user data:

Property Value Description
segment swift-fan The segment of the user.
campaign google The user was acquired via google
pro-member true The user is a pro member

We have three properties about the user. Notice that the user is a big fan of the Swift line of running shoes.

Imagine we wanted to make sure that the Swift Running Shoes show up first. To do this we can use Context and Query Rules.

book
Note
Don’t pass in PII data as context. Pass in data as you want to use it in Query Rules (for example, pass in an age-range rather than a specific age).