The concept of personalization revolves around showing different visitors different versions of your content, based on what you know about them: where they are, how they found you, or what they've already done on your site. So, by definition, personalization starts with segmenting your visitors: splitting them into groups that share something you can act on. Each of these groups is usually called an audience. Before you can decide who sees which version of a page, you need to know your audiences, and how SitecoreAI can tell them apart.

In this post, we'll take one simple scenario with three audiences and build each one in SitecoreAI, step by step, so they're ready to personalize for in the next post.

We'll keep using the example from the rest of this series: Brrrilliant Heat Pumps, a made-up installer of cold-climate heat pumps in Ontario, Nova Scotia and New Brunswick.

A General Guideline for Choosing Audiences

Since the goal of segmenting your visitors into audiences is to show each group the content that fits it best, a good rule of thumb is that an audience makes sense when:

  • its members would benefit from hearing something different from everyone else, and
  • you can reliably spot them through some kind of signal, such as the ad they clicked or the pages they've already seen.

Our Scenario

Here's the scenario we'll build in this post and the next. Brrrilliant runs three ads, but to keep things simple, we'll skip the one about comfort and work with the other two: one about cutting heating bills, and one about how heat pumps cope with real winters. Both send people to the landing page, where today everyone sees the same hero, about rebates. That hero isn't wrong, but it doesn't speak to what either group came for.

There is a third group of visitors that might land on the page and these are ones who have already been to the page, completed the eligibility check and seen their results, but haven't booked a home assessment. For them, the eligibility check is old news. What they need is a nudge to book.

For each of the groups, we'll change the hero and show each group a version written for them:

Brrrilliant's audiences and what each will see
AudienceWho they areWhat they'll see
SavingsVisitors who clicked our ad about cutting heating billsA hero about lower heating bills
Cold climateVisitors who clicked our ad about heat pumps in real wintersA hero about performance at low temperatures
Welcome backVisitors who checked their eligibility on an earlier visit but haven't bookedA hero that invites them to book their free home assessment, with the eligibility check hidden, since they've already done it
Everyone elseAny visitor who doesn't fall into any of the groups aboveThe current hero: "Heat pump rebates you may qualify for"

All three groups pass the rule of thumb on both counts. Each group would benefit from a different message, and each group gives us a signal to spot it by: Savings and Cold climate by the ad they clicked, and Welcome back by the pages they've already seen.

Starting Off

Before you build audiences for a page, check two things:

  • The page has no A/B/n tests on it. SitecoreAI won't let you personalize a page that has tests.
  • You know the exact names of the pages your conditions refer to. In page conditions, the page name you enter must match the page's name in the site tree exactly, including upper and lower case. Ours are lowercase with hyphens, such as eligibility-results.

Step 1: Decide How SitecoreAI Will Recognize Each Audience

In SitecoreAI, you describe an audience with conditions: rules about the visitor that are either true or false. There's a ready-made condition for most signals, and our scenario uses two of them:

  • UTM value reads the tags on the link the visitor clicked to reach your page. When you set up an ad or an email, you add tags to its link, such as a campaign name. This condition checks them, so agree on the tags with the team that runs your ads, and use them exactly.
  • Number of page views checks whether the visitor has seen a page in the past few days, looking back up to 30.

In our Brrrilliant example, these conditions define our three audiences:

The conditions that define each Brrrilliant audience
AudienceConditions
SavingsThe UTM campaign is savings, and the visitor hasn't seen eligibility-results in the past 30 days
Cold climateThe UTM campaign is cold_climate, and the visitor hasn't seen eligibility-results in the past 30 days
Welcome backThe visitor has seen eligibility-results in the past 30 days, and hasn't seen booking-confirmation in that time

Notice that we used "hasn't visited the eligibility results page" to define the Savings and Cold climate audiences. That's because visitors who have seen that page belong to Welcome back, as long as they haven't also seen the booking confirmation page. (Visitors who have already booked would ideally get a fourth audience with its own experience, but we'll skip that to keep things simple.)

Step 2: Create a Page Variant and Its Audience

In SitecoreAI's Page builder, you create an audience together with a page variant, which is the version of the page that audience will see. We'll create each variant and its audience now, and change the content of each variant later.

We'll build Welcome back first, then Savings, which uses a different condition.

Welcome Back

1. In Page builder, select the page in the site tree and click Personalize at the top. Next to Page variants, click Create variant.

The Personalize tab in Page builder for the Brrrilliant landing page, with the pointer on Create variant next to Page variants

2. Name the variant and click Next.

The Create new page variant dialog with Welcome back entered as the page variant name and the Next button

3. In Create your audience, the audience title is filled in from the variant name. Change it if you like, then click Add condition.

The Create your audience step with the audience title Welcome back and no conditions yet, with the Add condition button

4. In the right-hand pane, find a condition by searching or by tag. We searched for Number of page views. Click + to add it.

The conditions pane with Number of page views typed in the search field and the + button next to the Number of page views condition

5. The condition appears with empty fields.

The Number of page views condition added to the audience with empty page, days and comparison fields

Fill them in: the visitor has visited eligibility-results within the past 30 days, and the total number of page views is greater than or equal to 1. The last box needs a number above zero, so "is greater than or equal to 1" is how you say "at least once".

The first condition filled in: the visitor has visited eligibility-results within the past 30 days and the total number of page views is greater than or equal to 1

6. Click Add condition and add Number of page views again. Between the two conditions, choose And (all conditions must be met) or Or (at least one must be met). We kept And.

The operator menu open between the two conditions, offering And (all conditions need to be met) and Or (at least one condition must be met)

7. Fill in the second condition: the visitor has not visited booking-confirmation within the past 30 days, with page views is greater than or equal to 1. With has not, that means the visitor hasn't seen the page at all in that time.

Both Welcome back conditions filled in and joined by And: has visited eligibility-results, and has not visited booking-confirmation, each within the past 30 days

8. Click Preview to read the audience as plain sentences.

The Preview view of the Welcome back audience, showing its two conditions as sentences joined by And

9. When it says what you meant, click Build, then Save. A message confirms the audience was saved.

The Welcome back audience in Build view with the message Your audience was saved successfully

10. Close the dialog. The new variant appears under Page variants.

The Personalize tab listing Default, Cold climate and the new Welcome back variant

Savings

1. Click Create variant, name it Savings and click Next.

The Create new page variant dialog with Savings entered as the page variant name

2. Click Add condition.

The Create your audience step with the audience title Savings and no conditions yet

3. Search for UTM and click + next to UTM value.

The conditions pane with UTM typed in the search field and the UTM value condition listed
The UTM value condition added with empty type, comparison and value fields

4. For the UTM type, choose campaign.

The UTM type menu open, listing campaign, source, medium and content

5. For the comparison, choose is equal to.

The comparison menu open, listing is equal to, includes any of, contains, starts with, ends with and is null

6. Enter the campaign value from the ad's link, savings.

The UTM condition filled in: the visit includes a UTM campaign that is equal to savings

7. Click Add condition, add Number of page views, keep And, and set it to: the visitor has not visited eligibility-results within the past 30 days, with page views is greater than or equal to 1.

Both Savings conditions joined by And: the UTM campaign is equal to savings, and the visitor has not visited eligibility-results within the past 30 days

8. Click Preview to check it.

The Preview view of the Savings audience, showing its two conditions as sentences joined by And

9. Click Build, then Save, and close the dialog.

The Savings audience in Build view with the message Your audience was saved successfully
The Personalize tab listing four page variants: Default, Cold climate, Welcome back and Savings

In our Brrrilliant example, we built Cold climate the same way as Savings, with cold_climate as the UTM value.

The Cold climate audience: the visit includes a UTM campaign that is equal to cold_climate, and the visitor has not visited eligibility-results within the past 30 days

Our three variants still look exactly like the default page. We'll change the hero for each one in the next post.

Beyond This Scenario

Three audiences and one hero are a good place to start. But SitecoreAI offers much more.

Other Signals

Besides UTM tags and page views, SitecoreAI's ready-made conditions can check:

  • Location: the visitor's country or region. These conditions only work if your site's front end sends location data to SitecoreAI, so check with your developers first. Region means a continent, and Country Region currently covers US states only, so you can't target a Canadian province with them.
  • Device: the type of device or operating system.
  • Time and date: the time of day, day of the week, month or date of the visit.
  • How they arrived: the site that referred them, and whether they're new or returning.
  • Top affinity: what the visitor seems most interested in, based on what they've read. This one needs some setup.

Affinities: What Visitors Read

An affinity is a visitor's interest in a topic, worked out from the pages they read. If someone reads three pages about running costs, saving money is probably what they care about most. SitecoreAI can track this for you if you've labeled the pages with the topics they cover. You tag pages with an affinity name (what you're tracking) and an affinity value (what this page is about). As a visitor browses, SitecoreAI scores their interest in each value, updates the scores during the visit, and keeps them on the visitor's profile for up to 30 days. Affinities are part of a phased rollout.

To tag a page:

1. Go to Optimization and, in the left sidebar, click Affinities.

The Optimization area with Affinities under Foundations in the left sidebar

2. Select your site, then select the page.

The Affinities page with the heat-pump-vs-furnace page selected in the Brrrilliant site tree and no affinities yet

3. Click Add affinity, enter the affinity name and value, and click Save.

The Add affinity dialog with motivation as the affinity name and savings as the affinity value
The heat-pump-vs-furnace page now listing the affinity motivation with the value savings

In our scenario above, the audiences don't rely on affinities; they use UTM tags and page views instead. We'll still set affinities up, just to show you how they work. Let's say we want SitecoreAI to tell us which of the three main reasons people want a heat pump (lower bills, comfort, and coping with cold winters) a visitor cares about most, by checking which topics they read about most. To do that, we create an affinity named motivation and give it three possible values, one for each reason: savings, comfort and cold_climate.

Then we label each supporting page with the one value it's about.

As a visitor reads, SitecoreAI keeps a separate score for each value. A real site would have many more supporting pages. Someone who reads several pages tagged with savings and only one tagged with comfort would most likely end up with savings as their top motivation. That's what the Top affinity condition checks when you use it in an audience: which value has this visitor's highest score?

Here's how we tagged our three supporting pages:

How Brrrilliant's supporting pages are tagged with affinities
PageAffinity
heat-pump-vs-furnacemotivation: savings
heat-pump-comfortmotivation: comfort
cold-climate-heat-pumpsmotivation: cold_climate
The cold-climate-heat-pumps page listing the affinity motivation with the value cold_climate

Audience Builder

You may also see Audiences under Optimization. That's Audience builder, which is part of a phased rollout. It's for reusable audiences that you maintain in one place, built from profile, session, event and interest data. You can describe an audience in plain words and have AI Assistant write the rules for you.

Your Audiences Checklist

  • Each audience would benefit from a different message, and you know what it will see
  • Each audience can be reliably spotted through a signal SitecoreAI recognizes
  • The page has no A/B/n tests on it
  • Each audience reads correctly in Preview

Up Next

Our three audiences are ready, and each has a page variant waiting for it. In the next post, we'll give each variant its own hero, hide the eligibility check for Welcome back, and publish the personalized page.