Tuesday, 24 November 2026

SitecoreAI Component Personalization, Part 2: Testing, Activation, and Analytics

November 24, 2026 0

 


A team I worked with saved their decision table, published the page, and announced the campaign was live. Two days later the analytics were empty. Nobody had clicked Start personalization. Saving, publishing, and starting are three separate actions in SitecoreAI, and skipping any one of them means visitors never see your variants.

In Part 1, we designed the decision model: inputs, ordered rules, and variants. This part takes that configuration through testing, custom values, publishing, activation, analytics, and maintenance, step by step.

Before you begin

Component personalization is part of SitecoreAI's phased rollout, so the UI and availability can vary by environment.

Prerequisites

You need:

  • A component with a saved decision table and configured variants (covered in Part 1).
  • Visitor profiles you can test with, including at least one with incomplete data.
  • An agreed business KPI and an owner for the analytics review.
  • A named person who can start and pause personalization in production.

How it works


Three states are easy to blur together: a saved draft, a published page, and started personalization. Visitors only receive variants once the page is published and personalization is started. When something "isn't working" right after launch, check those two first.

Step 1: Test rules against visitor profiles

A rule that can match isn't enough. Because evaluation stops at the first match, you need to confirm that the intended rule wins when several could apply.

  1. Open the component's decision table.
  2. Select the option to test personalization rules.
  3. Choose a visitor profile.
  4. Run the test.



  5. Review which rule matches and the resulting variant.
  6. Repeat with the other scenario profiles.

Build your test set around these five scenarios:

Scenario

What it catches

Matches the first rule

Basic matching works

Matches a later rule

Earlier rules don't capture it by mistake

Could match more than one rule

Rule-order problems

Matches no rule

The fallback is shown

Incomplete or missing data

Assumptions about data availability

The overlap scenario finds the most bugs. A profile interested in SUV , should view SUV detail, not the broader General rule.

Test the fallback

Always include a no-match profile. When no rule matches, SitecoreAI shows the original component. Check that it suits your whole visitor population and doesn't carry campaign content meant for a narrower group.

Step 2: Create and test custom values

Custom values are JavaScript-based inputs that combine profile data, behavior, and calculated logic. Here's an illustrative pattern based on Sitecore's documented example, returning the last country user visited from in the visitor's latest session:

javascript

(function() {
  const selectedCountries = "[[countries | multienum(IN, US, UK) | { required: true }]]";
  const visitorCountry = profile?.sessions?.[0]?.geolocation?.country ?? "";

  if (!visitorCountry) {
    console.log("Visitor geolocation country is not available in the profile.");
    return false;
  }

  const countriesArray = selectedCountries.split(",");
  const isCountryMatched = countriesArray.includes(visitorCountry);

  console.log(`Visitor geolocation country: ${visitorCountry}, Selected countries: ${countriesArray}, Match found: ${isCountryMatched}`);
  return isCountryMatched;
})();

Confirm the runtime context and data shape in your environment before adapting it. The null and type checks aren't optional. Plenty of profiles have no sessions, and returning an explicit null is safer than assuming complete data.

Create the custom value

  1. In the decision table, add a Custom value input.
  2. Select Create new.
  3. On the Custom Values page, enter a name.
  4. Add the JavaScript, or use Code Assistant to generate a starting point.



  5. Add a description and tags.
  6. Select the return type: String, Number, Boolean, Date, or Array.
  7. Save.

Test it

  1. Open the custom value and select Test.
  2. Load a profile by client ID or profile ID, or generate a test profile where that's available.
  3. Run the test and inspect the response.



    >


     

  4. Repeat with a profile that has no sessions, and confirm you get null, not an error.

Review Code Assistant output carefully

Code Assistant turns a natural-language prompt into JavaScript. Be specific about which fields to inspect, any time window, the conditions, and the expected return type including null. Sitecore warns that generated responses can vary and may not always be accurate. Treat the output as a first draft from a junior developer: read every line and test it against several profiles.

Publish the custom value

  1. Open the custom value.
  2. Select Publish and confirm.
  3. Check that its status is Published.
  4. Return to the decision table and select it as an input.

A saved draft isn't automatically available as a published input. If you can't select a custom value in the table, check its status first.

Step 3: Review and publish the page

Before publishing, check that:

  1. Each variant renders correctly.
  2. Text and imagery fit the intended scenario.
  3. Links and CTAs go to the right place.
  4. Mobile and desktop layouts both work.
  5. The original component is a valid no-match experience.
  6. This component doesn't conflict with other personalized areas on the page.

Then publish the page through your normal Page builder workflow.

Publishing doesn't start personalization. That's the next step.

Step 4: Start personalization

  1. Open the component personalization controls.
  2. Review the saved rules and variants.
  3. Select Start personalization.

     

  4. Confirm if prompted.
  5. Verify the personalization status.



Before you click in production, confirm you're on the right page and component and that the latest intended version is published. For time-sensitive campaigns, agree the start time with the campaign owner.

Step 5: Review analytics

Once visitors start seeing live variants, analytics become available.

  1. Open the personalization analytics for the component.
  2. Review rule execution counts and percentages.


  3. Ask these questions:
    • Which rule matches most often?
    • Are visitors reaching the targeted scenarios?
    • Is one rule capturing far more traffic than expected?
    • Are some variants getting almost no exposure?

Rule execution tells you about matching, not business impact. Compare it against the KPI you agreed before launch, such as CTA engagement. Without a KPI, you can claim activity, not success.

A rule capturing far more traffic than expected is usually a sign that it's too broad or sits too high in the table.

Step 6: Pause and maintain

Campaigns expire and data changes, so schedule reviews.

To stop an active personalization, use the documented pause control. Tell the content and campaign owners first, so everyone knows visitors will see the original component.

For each review, check:

  1. Is the campaign still valid?
  2. Are the profile attributes and conditions still populated?
  3. Do custom values still return the expected type?
  4. Have any rules become overlapping or redundant?
  5. Is the original component still the right fallback?
  6. Does the analytics picture still match the intended audience?

After any change, rerun your profile test scenarios and repeat the publish and start steps as the workflow requires.

Troubleshooting

The expected variant isn't displayed

Check in this order:

  1. Is personalization started?
  2. Is the page published?
  3. Does the profile contain the required data?
  4. Does the visitor satisfy every input in the rule?
  5. Is an earlier rule matching first?
  6. Is the intended variant configured and saved?

A custom value isn't available in the decision table

Check that it's published, has the expected return type, and exists in the environment you're working in.

A custom value returns null

Look at the test profile for missing sessions, missing traits, unexpected data types, or wrong assumptions about array order.

Analytics are empty

Confirm personalization is live and visitors are reaching it, then confirm you're looking at the right site, component, and scope.

Real project tips

Personalization doesn't create missing data. If country or an event-derived value isn't on the profile, no rule can target it reliably. Validate the data foundation before you touch the decision table.

Document every custom value. Record its business meaning, inputs, return type, null behavior, owner, and test cases. Without this, one team changes shared logic that another team's component depends on.

Remember page versions. Component personalization is shared across page versions, so a rule edit can affect the live version. Agree a change process before anyone edits rules on a draft.

Release checklist

Before starting a component personalization in production:



Summary

Component personalization is a small decisioning system attached to a component, and it needs to be operated like one. Test against representative profiles, validate the fallback, review custom JavaScript, publish the page, start personalization, and judge results against a real KPI.

Across both parts, the approach is the same: design the decision model carefully, then run it with testing, activation, measurement, and clear ownership.

Demo

To see these steps in practice, watch my webinar below. It includes a full demo of SitecoreAI personalization.



References

Component personalization

Thursday, 12 November 2026

SitecoreAI Component Personalization, Part 1: Decision Tables and Rule Design

November 12, 2026 0

 


A business owner asks for "a different hero banner for visitors from India." Simple enough. Two weeks later the request has grown: India on mobile, India on desktop, US on mobile, and returning visitors anywhere. Then someone notices that Indian mobile visitors are seeing the generic India banner, not the mobile one. Nothing is broken. The rules are just in the wrong order.

Component personalization in SitecoreAI is built for this kind of requirement: change one component while the rest of the page stays the same. This guide covers the design half of the work, step by step: choosing the scope, defining inputs, building and ordering rules, and configuring variants. Part 2 will cover testing, publishing, activation, analytics, and custom-value governance.

Before you begin

Sitecore documents component personalization as a phased rollout. Confirm it's enabled in your environment before you include it in a delivery commitment.

Prerequisites

Confirm each of these before creating a single rule:

  1. Environment availability: component personalization is enabled for your organization.
  2. Site implementation: your site setup and front-end integration support it.
  3. Visitor data: the profile attributes and conditions you plan to target are actually populated.
  4. Component design: you know which component changes and which variants each scenario needs.
  5. Fallback experience: you've decided what visitors see when no rule matches.
  6. Success measure: the business has agreed on a KPI, such as CTA click-through or form starts.

Item 3 causes the most rework. A country rule is only as reliable as the location data behind it. VPNs, proxies, and network routing all affect it, so treat inferred location as a strong hint, not a guarantee.

How it works



Everything revolves around the decision table, which has three parts:

  • Inputs: the visitor data used during evaluation. Each input is a column.
  • Rules: rows of comparisons that decide whether a visitor matches a scenario.
  • Outputs: the component variant mapped to each rule.

The detail developers most often miss is that evaluation stops at the first match. Rule order isn't a visual preference in the editor. It's part of the business logic.

Step 1: Decide between component and page personalization

Before opening Page builder, decide on the scope.

  1. Write down exactly what changes for the target visitor.
  2. If it's one component (a message, image, CTA, or content block), start with component personalization.
  3. If several parts of the page must change together as one coordinated experience, use page personalization instead.

Requirement

Better starting point

Change only the homepage hero for one country

Component

Change a banner CTA for returning visitors

Component

Use a custom calculated value to pick a banner variant

Component

Change hero, navigation emphasis, and product grid together

Page

Deliver one coordinated page experience to a visitor group

Page

Don't pick component personalization just because it feels more flexible. I've seen teams personalize four components independently, then struggle to explain why a visitor saw a India hero next to a US promotion. When parts of a page must agree, use page personalization.

Step 2: Select the component

  1. Open the page in Page builder.
  2. Select the component, for example a Page Header or promotional banner.
  3. In the component context toolbar, select Add personalization rules to component.


The decision-table dialog opens for that component.

Rules and variants apply to this component instance only. They don't automatically personalize every component of the same type across the site.

Watch out for page versions

Sitecore documents that component personalization is shared across page versions. Edit the rules in one version and the change applies to the others, including the live version.

A draft version or another language is not a safe sandbox. Coordinate rule changes with whoever owns the live experience.

Step 3: Define decision-table inputs

Inputs define what the rules can evaluate. SitecoreAI supports three types.

Profile data uses attributes already stored on the visitor profile, such as country, city, or channel. Use it when the targeting value already exists.

Input:  Country
Rule:   Country equals IN
Output: India campaign banner

The IN value is illustrative. Use the value format your environment's profile data actually supplies. Check a real profile under Optimization > Profiles before you type any values into a rule.

Conditions are true/false evaluations, either out-of-the-box or custom. "Is this a returning visitor?" is a typical example. Use a condition when the logic already exists as something reusable.

Custom values are JavaScript-based inputs that combine attributes, behavior, and calculated logic into one value, such as high, medium, or low intent. Use them only when profile data and conditions can't express the requirement. Part 2 covers them in detail.

Configure the inputs

  1. In the decision-table dialog, open the Builder tab.
  2. Select Create new table, or clone an existing table as a starting point.


  3. Choose the input type: Profile data, Condition, or Custom value.


  4. Select the attribute, condition, or custom value.


  5. Configure its details where prompted.
  6. Select Save.
  7. Use Add column to add more inputs.


Inputs in the same rule are combined with AND. Country = IN and Device type = mobile means the visitor must match both. There's no OR inside a row. If you need OR, that's a separate rule.

Step 4: Create personalization rules

Each row in the table is a rule.

  1. In the first row, select Add.
  2. For each input column, choose a comparator.
  3. Enter the comparison value.


  4. Confirm the comparison.
  5. Select Add Rule to create more rows.
  6. Save the decision table when the rule set is ready.


A regional mobile campaign might look like this:

CountryDevice typeResult
INmobileIndia mobile banner
INdesktopIndia desktop banner
USdesktopUS desktop banner

Rule order is priority

Now consider this order:

  1. Country = IN AND Device = mobile
  2. Country = IN AND Device = desktop
  3. Country = US AND Device = desktop

An Indian mobile visitor matches rules 1 and 2. Evaluation runs top to bottom, so rule 1 wins. Swap rules 1 and 2, and every Indian mobile visitor gets the generic Indian banner. That's exactly the bug from the opening of this post.

The rule of thumb: most specific first, broadest last. When I review a decision table, I don't just check that each row is correct. I check every pair of rows for overlap and ask which one a visitor matching both would see.

Step 5: Configure component variants

After saving the decision table, configure the variant for each rule in Page builder.

  1. Select the rule you want to configure.


  2. Choose how the variant starts:
    • Duplicate original: start from a copy of the original component.
    • Hide component: show nothing for this rule.
    • Swap component: replace it with another compatible component.


  3. Update the content and design for that variant.
  4. Use the preview control to inspect the result.
  5. Repeat for each rule.

Don't forget the original component. It's shown whenever no rule matches, which for a regional campaign is most of your traffic. Review it with the same care as the variants.

Step 6: Save and review the draft

  1. Save and close the decision table.
  2. Review the component's personalization status.
  3. Confirm every rule maps to the intended variant.
  4. Confirm the original component still works as the fallback.
  5. Preview each variant and check content, layout, links, and responsive behavior.

At this point the personalization is a draft. Saving the decision table doesn't make it live for visitors. Part 2 covers publishing and activation.

Common mistakes

Designing rules before checking the data. If the attribute isn't populated, the rule never matches.

Broad rules above specific ones. The broad rule captures visitors first and the specific variant never shows.

Expecting OR within a row. Columns in a row are always AND.

Treating a non-live page version as isolated. Personalization is shared across versions, including live.

Architect's design checklist

Before handing the configuration to testing, confirm:

  1. Inputs are based on data that actually exists.
  2. Multiple inputs are intentionally combined with AND.
  3. Rules are ordered from most specific to broadest.
  4. Overlapping rules have been reviewed in pairs.
  5. The original component is a valid fallback.
  6. Variants preserve accessibility, responsive behavior, and working links.
  7. Page-version implications have been discussed with content owners.
  8. The business owner agrees on the target audience and KPI.

A valid decision table can still produce the wrong experience. Walk through visitors who match several rules and visitors who match none.

Summary

Component personalization lets you vary one component without touching the rest of the page, and it's built on three things: inputs, ordered rules, and variants. Most of the important decisions happen before activation. Pick the right scope, confirm the data exists, order overlapping rules deliberately, and give the original component the same attention as the variants.

In Part 2, we'll take this configuration through testing, publishing, activation, analytics, and the operational controls that keep it maintainable.

Demo

To see these steps in practice, watch my webinar below. It includes a full demo of SitecoreAI personalization.



References

Component personalization

Tuesday, 27 October 2026

Build Reusable Audiences with SitecoreAI Audience Builder

October 27, 2026 0

 


On one project I reviewed, the marketing team had five personalization variants targeting "Personal loan interested visitors." Each variant defined that group slightly differently. One checked an affinity, one checked recent page views, two checked both with different time windows, and one had been copied from a test and never cleaned up. Nobody could say which was right, because there was no single definition to point at.

Audience Builder in SitecoreAI solves this by letting you define a visitor group once and reuse it. This guide walks through the full workflow step by step: create, define, estimate, inspect, set live, and verify membership.

Before you begin

Audience and Insights is being rolled out in phases, so confirm Audiences is available under Optimization in the environment you're working in.

Prerequisites

You need:

  • Access to Optimization in a SitecoreAI environment with Audience and Insights enabled.
  • Reliable VIEW and IDENTITY events, plus identity rules and affinities configured. My earlier guides cover both.
  • A written business definition of the audience you want to build, agreed with whoever will use it.

That last item matters more than any UI setting.

Why use Audience Builder

An audience is not a saved filter. It's a reusable definition that SitecoreAI evaluates against profile data and, once live, records as membership on matching profiles.

That gives you one place to define "returning customers" or "EV-interested visitors," and one place to fix it when the definition changes.

How it works


The key distinction is between Draft and Live. In Draft, you're editing and refining rules. Once Live, SitecoreAI evaluates profile data against those rules and saves membership on profiles that match.

The step developers usually misjudge is the last one. Membership is evaluated several times a day, not instantly. If you set an audience live and immediately check your test profile, it probably won't be there yet.

Step 1: Create the audience

  1. In SitecoreAI, open Optimization.
  2. Select Audiences.
  3. Click Create audience.




  4. Enter a descriptive name.




  5. Click Create.

The audience opens in Audience Builder with Draft status.

Name it for its business purpose:

  • Returning Customers
  • Campaign Visitors
  • Interested in Electric Vehicles
  • High-Intent Product Visitors

Avoid names like Audience1 or Rule_Test_Final. The name is often the only documentation other teams see.

Step 2: Define the audience in business terms

Before adding a rule, write one sentence describing who belongs in the audience. For example:

Visitors who showed interest in suv vehicles and recently viewed product content.

Then translate that sentence into conditions. I do this on paper (or in the ticket) before opening the builder. It surfaces gaps early, such as "what counts as recently?" or "do we have an affinity for suv?", while they're still cheap to resolve.

Step 3: Add audience rules

Audience Builder organizes data into attribute groups:

  • Profile
  • Sessions
  • Events
  • Traits

An attribute is a field from one of these groups. A rule is the condition a profile must satisfy.

  1. Open the draft audience.
  2. Select an attribute group.
  3. Choose the attribute.
  4. Set the comparator and value.


     

  5. Add further rules or rule groups as your business definition requires.

A simple example combining three groups:

Language = EN 
AND Last Seen At is in the past 2 days 
AND Page View Event is = Sedan

The attributes you see depend on the data your environment actually collects. If an attribute you expected is missing, that's usually a data-collection gap rather than an Audience Builder issue. Check the profile first.

Keep related conditions together. Another developer should be able to read the audience without reverse-engineering the logic.

Step 4: Estimate the audience size

Never set an audience live without this step.

  1. Open the audience and review the rules.
  2. In the right pane, locate Audience size.
  3. Click the calculate icon.


  4. Wait for the calculation to finish. It can take a few minutes.
  5. Review Estimated profiles.

Treat the number as a sanity check against your business definition. If "High-Intent Product Visitors" comes back larger than your total monthly traffic, something in the logic is too broad. The opposite also happens: an estimate of zero often means a value doesn't match the underlying data, such as Electric in the rule and electric in the affinity taxonomy.

I like to write down the expected rough size before calculating. It forces you to have an opinion, which makes a wrong result much easier to spot.

Step 5: Edit, reorder, or delete rules

While the audience is in Draft, you can change it freely.

To edit a rule:

  1. Open the audience.
  2. Locate the rule.
  3. Change the attribute, comparator, or value.
  4. Save.
  5. Recalculate the estimate.

To delete a rule, remove it and recalculate.

To reorder rules or rule groups, arrange them so related conditions sit together. Order helps people understand and maintain the definition, especially once you have several rule groups.

To delete an audience, follow your organization's process. An audience other teams rely on shouldn't disappear without notice.

Step 6: Inspect the definition

The visual builder is easy to read, but it isn't the whole story. Before going live, check what SitecoreAI actually generated.

  1. Open the audience.
  2. Click the ellipsis in the top-right of Audience Builder.
  3. Select View code.


SitecoreAI shows generated code and a JSON representation of the audience. Use this to confirm the rule structure, especially how rule groups relate to each other. Inspect mode is also available for examining the configuration and its rule groups, and it's the first thing I open when troubleshooting a complex audience.

My review sequence before go-live:


Each layer catches a different mistake. The generated definition catches logic that looks right visually
but groups differently than intended.

Step 7: Set the audience live

  1. Open the draft audience.
  2. Confirm all rules are complete.
  3. Review the estimated size one last time.
  4. Click Set live.
  5. Change Schedule time when the audiance will update. You can select 6,8,12 or 24 hours.
  6. Click Apply  


The status changes from Draft to Live. SitecoreAI calculates an initial estimate and then evaluates profiles against the rules several times during the day, saving membership on matches.

If you need to change a live audience, pause it first. Don't treat a live audience like a draft. After making changes, re-check the estimate and set it live again.

Step 8: Verify membership on a profile

Going live isn't the finish line. Confirm the audience is actually matching the profiles you expect.

  1. Open Optimization > Profiles.
  2. Find a profile that should match.
  3. Open the profile details.
  4. Use Inspect to review audience membership.


Allow time for evaluation before checking. If membership is missing, compare the profile's underlying data with the rules, not the other way around.

Troubleshooting

The audience is far too large

Check whether:

  1. Rules use the intended attribute group.
  2. Conditions are broader than the business definition.
  3. Rule groups have the logical relationship you intended. Confirm this in View code.
  4. Selected values are correct.

An expected profile isn't a member

Start with the profile, not the audience:

  1. Is the required event present?
  2. Is the required profile attribute populated?
  3. Is the expected affinity there?
  4. Does the profile satisfy every rule?
  5. Is the audience actually live, and has evaluation had time to run?

Changes aren't appearing

Check the lifecycle state. A live audience must be paused before you modify it. After changes, validate the estimate and set it live again.

Common mistakes

Going live without checking the estimate. A technically valid audience can still describe the wrong people.

Building on an unstable taxonomy. If affinity or event values are inconsistent, the audience rules become impossible to maintain.

Editing a live audience directly. Pause first.

Expecting instant membership. Evaluation runs several times a day. Set expectations with the business before launch.

Duplicating audiences. If the same group is needed in several places, build one audience and reuse it.

Real project tips

Treat audiences as governed configuration, not ad-hoc segments. For each one, record:

  • Business purpose
  • Owner
  • Data dependencies
  • Rule logic
  • Expected approximate size
  • Downstream consumers
  • Review cadence

A simple shared table is enough. When an affinity value gets renamed or an event changes, the "data dependencies" column tells you exactly which audiences to retest.

Summary

Audience Builder turns profile data into reusable visitor groups, but the tool is the easy part. The real work is making sure every audience maps to a clear business requirement, depends on reliable data, and gets validated before it goes live. The workflow I follow every time:

Create → Define → Estimate → Inspect → Set live → Verify membership

When that becomes routine, audiences stay a governed part of your SitecoreAI architecture instead of a growing list of segments nobody trusts.

References

Audiences | Sitecore Documentation

Wednesday, 30 September 2026

Use SitecoreAI Profiles to Validate and Troubleshoot Your Implementation

September 30, 2026 0

 


A content author reports that the New Credit Card banner isn't showing for a visitor who "definitely looked at Credit Card page." The developer opens the personalization rule, tweaks the condition, republishes, and waits. Nothing changes. An hour later someone opens the visitor's profile and finds the Credit card pages were never tagged with an affinity.

That's the pattern I see most often. Teams debug personalization from the rule outward, when the answer is usually sitting in the profile. This guide shows how to use the Profiles page in SitecoreAI as an implementation-validation tool, step by step, and how to read what it tells you.

Prerequisites

You need:

  • Access to Performance in a SitecoreAI environment with Audience and Insights enabled.
  • A site sending VIEW events, and IDENTITY events at the point where visitors identify themselves.
  • Identity rules and page affinities configured. Sitecore recommends setting these up before relying on Profiles, because they're what turn a profile from a list of page views into something useful. If you haven't done this yet, start with my earlier guide on Identity Resolution and Affinities.

Why use Profiles

A profile brings together identity, sessions, events, device usage, engagement, affinities, and audience membership for a single visitor. That makes it the one place where you can check whether the site is producing the data your solution design assumes.

Here's the mental shift. The Profiles page is not a CRM record. It's downstream of your data collection. If a profile looks thin, the page isn't broken. Your events are.

How it works



SitecoreAI creates a profile automatically for every visitor. Everything below that first line is populated from captured events. Sitecore specifically calls out VIEW and IDENTITY as the events that drive what the profile can show.

The step developers usually misunderstand is the arrow from Sessions to Events. If an event isn't sent, nothing downstream of it exists. No affinity score, no identity, no audience match.

Step 1: Know the three profile types

You'll see three states while testing:

  • Visitor: created automatically for a new, anonymous visitor.
  • Identified: holds identifying information captured through an IDENTITY event, and can be merged by identity resolution.
  • Retired: a duplicate that has been merged into another profile and no longer appears as active in the Profiles UI.

Retired profiles catch testers off guard. You browse on your phone, sign in on your laptop, and the phone profile "vanishes." That's identity resolution merging it, which is exactly what you wanted.

Step 2: Open Profiles

  1. Open SitecoreAI.
  2. Go to Performance.
  3. Select Profiles.


The page lists recent visitor profiles and supports filtering and search.

Understand the display limits

Sitecore currently documents these limits for the Profiles UI:

Limit

Value

Visitors listed

500 most recent

Sessions per profile

40, from the previous 90 days

Events per session

100

Client IDs per profile

10

These matter more than they look. On a busy production site, your test visitor from yesterday may already have dropped out of the 500. And a profile showing 40 sessions doesn't mean the visitor only had 40. Treat Profiles as an investigation tool, not a historical data warehouse.

Step 3: Find the profile you need

  1. Filter by profile type if you already know whether the visitor should be Visitor or Identified.
  2. Search using an identifier supported by your configured identity rules, for example the email used to sign in.
  3. Open the matching profile.


Search only works on identifiers your identity rules support. If your rule is email-based and you search by a loyalty number, you'll get nothing, and it's easy to misread that as "the profile doesn't exist."

Step 4: Read the profile Overview

The Overview shows:

  • Identity details
  • Engagement metrics
  • Temporal usage patterns
  • Device usage
  • Content affinities
  • Session locations



Use the Overview to check the journey your design expects. For a site that identifies visitors on login, you should be able to trace this:


If the profile is still a Visitor after a test login, stop. Don't touch personalization yet. The break is somewhere between the login and the identity rule, and that's where you look next.

Step 5: Inspect sessions and events

Sessions are the timeline behind the profile. Open the sessions view and work through these questions:

  1. Which pages were viewed?
  2. When did each session happen?
  3. Which device was used?
  4. Was an IDENTITY event captured, and in which session?
  5. Did the visitor view pages that carry affinities?

This turns "personalization didn't work" into "the visitor viewed two Personal Loan Article pages, but neither has an affinity configured." That's a five-minute fix.

One thing I check early: whether the IDENTITY event appears in the same session as the login. If it shows up a session later, or not at all, the front end is usually firing it at the wrong point in the page lifecycle.

Step 6: Check affinity scores

If pages have affinities, the profile shows the scores that visitor activity produced. Scores update during a session and are saved to the profile when the session ends.

An illustrative example of what you're looking for:

loan_type 

     Personal                0.72
     home                     0.18

 customer_segment 

     salaried                 0.61 
     business_owner    0.24



Treat these as system-generated signals, not customer attributes someone entered. Don't design audience rules that depend on a specific score value appearing. Affinity-based personalization conditions check which value is highest within an affinity name, so the useful question here is "is homeloan the top value for loan_type?" not "is the score above 0.7?"

Step 7: Troubleshoot with the profile

Two scenarios cover most of the tickets I get.

Scenario: personalization doesn't trigger

Resist editing the rule. Check in this order:

  1. Does the visitor's profile exist?
  2. Are the expected VIEW events present?
  3. Do the viewed pages carry the required affinity?
  4. Is an affinity score present for that name?
  5. Is the expected value actually the highest within that name?
  6. If the variant requires identity, is the profile Identified?
  7. Does the condition use the exact affinity name and value, character for character?

Most problems surface by step 3. The last one catches the rest: loan_type in the condition, loantype on the page.

Scenario: two devices appear as separate visitors

This is an identity problem, not a personalization problem. Check:

  1. Did the visitor actually sign in on both devices?
  2. Was an IDENTITY event captured on each?
  3. Does the identifier match what the identity rule expects, including format?
  4. Is the identity rule configured in the environment you're testing?

That last one bites more than it should. Rules configured in a dev environment don't follow you to UAT.

Verify the implementation

Add profile validation to your release testing. It takes about fifteen minutes per journey:

  1. Browse anonymously in a clean browser and confirm a Visitor profile appears.
  2. View pages with affinities and confirm scores appear.
  3. Sign in and confirm the profile becomes Identified.
  4. Repeat on a second device, sign in with the same identifier, and confirm the sessions sit on one profile.
  5. Load a personalized page and confirm the variant matches what the profile shows.

Common mistakes

Expecting data immediately. A sparse profile usually means an event gap, not a Profiles issue.

Using Profiles as the full history. The display limits make it an operational view, not an archive.

Debugging personalization without opening the profile. The profile tells you whether the signal exists before you question the rule.

Ignoring identity resolution. Fragmented profiles make journeys look incomplete, and the affinity picture gets split across them.

Real project tips

The biggest thing to get right is the event model. A weak event implementation gives you thin profiles, weak insights, and poor personalization decisions downstream. You can't fix that in the Profiles UI.

Before handing Profiles to business users as a validation tool, confirm that VIEW events are captured correctly, IDENTITY events fire at the right business moment, identity rules match your approved identity strategy, and affinity names follow a controlled convention. For multi-site solutions, make sure everyone understands that affinities are configured per site.

Plan privacy early too. Sitecore documents profile deletion for a right-to-be-forgotten request as a support-case process for organization admins and owners. Give it a named owner before the first request arrives.

Summary

Work backwards from the profile. When a signal is missing, decide whether the gap is in event capture, identity resolution, affinity configuration, or audience evaluation, then fix it there. Used that way, Profiles stops being a reporting screen and becomes the fastest diagnostic tool you have in SitecoreAI.

References

Tuesday, 29 September 2026

Configure Identity Resolution and Affinities in SitecoreAI

September 29, 2026 0

 


A visitor browses three SUV pages on their phone during lunch, then signs in on a laptop that evening and reads two EV comparison articles. Without identity resolution, SitecoreAI sees two unrelated people. Without affinities, it sees two people who viewed some pages. Neither view helps personalization.

This guide walks through configuring both capabilities in SitecoreAI Audience and Insights, in the order I'd set them up on a real project, and covers the problems that usually show up after go-live rather than during setup.

Before you begin

Audience and Insights is being rolled out in phases, so availability can differ between organizations and even between environments in the same organization. Confirm the feature is visible in the environment you're working in before planning the work.

Prerequisites

You need:

  • Access to a SitecoreAI environment with Audience and Insights enabled.
  • A site that already sends VIEW events on page load.
  • The ability to send an IDENTITY event from your front end when a visitor identifies themselves (sign-in, registration, form submit).
  • Agreement from whoever owns privacy and data governance on which identifiers you're allowed to use.

Don't skip that last one. I've seen a rollout stall because email matching was configured before legal signed off.

Why use these features together

Identity resolution answers one question: are these interactions from the same person? Affinities answer another: what is this person interested in?

They're separate settings in the UI, but they shouldn't be separate workstreams. Identity resolution decides how much behavior lands on one profile. Affinities decide what that behavior means. Good affinities on fragmented profiles give you weak signals; clean identity without affinities gives you a known person you know nothing useful about.

How it works



Two decisions happen in this flow. The identity rule decides whether an incoming IDENTITY event matches an existing profile. The affinity calculation decides which interests a page view strengthens.

Failures almost always happen on the left branch: the rule exists, but the IDENTITY event never fires, uses the wrong provider, or fires too early. The UI configuration isn't the hard part. The event pipeline is.

Part 1: Configure identity resolution

Step 1: Choose your identifier

By default, an environment has no identity rules. You can create up to five, but most implementations need one or two. Email is the common choice.

For each candidate, check that it's stable, unique within your customer base, reliably available in the IDENTITY event, and acceptable under your privacy rules. A shared family email will merge people who shouldn't be merged. Pick an identifier because it's trustworthy, not because it's available.

Step 2: Create the identity rule

  1. Open Performance - Settings - Identity rules settings for your environment.
  2. Create a new rule.
  3. Select the identifier (for example, email) that incoming IDENTITY events will use.
  4. Save the rule

With an email rule in place, an IDENTITY event using the email provider is compared against existing profiles holding the same email address.

Step 3: Understand the profile states

SitecoreAI tracks three profile states, and you'll see all of them during testing:

  • Visitor: created automatically for a new, anonymous visitor.
  • Identified: holds identifying information received through an IDENTITY event.
  • Retired: a duplicate that has been merged into another profile and is no longer active.

When QA reports "my profile disappeared," it was usually retired and merged. That's the feature working. Brief testers on this up front.

Step 4: Send the IDENTITY event

The rule does nothing on its own. Your application must send the identity information at the right moment, typically right after a successful sign-in or registration.

Two things I check on every project. First, normalize the identifier in your own code before sending it (trim whitespace, consistent casing for email) so you're not relying on assumptions about how matching handles variations. Second, make sure the event fires after the visitor's session exists. Firing it too early in the page lifecycle is a common source of "the rule never matches."

Part 2: Configure affinities

Step 5: Define your affinity taxonomy

An affinity is a name/value pair attached to a page. The name is the attribute you're tracking; the value is the specific interest.

Start from business concepts, not CMS fields. An finance site might use:

  • loan_type = home, auto, business, education
  • loan_purpose = debt_consolidation, home_purchase, refinance, renovation, vehicle_purchase, wedding, travel
  • customer_segment = salaried, self_employed, business_owner, student, retiree
  • rate_preference  = fixed, variable
  • Sitecore recommends only a-z, 0-9, and underscores. 

Step 6: Assign affinities to pages

  1. Open Performance.
  2. Select Settings > Affinities.
  3. Select the site.
  4. Select the page you want to tag.
  5. Click Add affinity.
  6. Enter the affinity name and value.
  7. Save.


A page can carry up to 10 affinities. Affinities are set per page and don't carry across to other sites, so a multi-site solution needs the taxonomy applied site by site.

I tag detail pages first. A model page says far more about intent than a landing page everyone passes through, and tagging navigation pages inflates scores for whatever they carry.

Step 7: Let behavior build the scores

Once pages are tagged, SitecoreAI calculates affinity scores from VIEW events as visitors browse. Scores update in near real time during a session. When the session ends, they're saved to the profile and kept for up to 30 days.

So affinity is a moving signal. A visitor who starts on home and then reads home loan article pages shifts toward rate_preference = fixed.

Part 3: Use affinities in personalization

Step 8: Build an affinity-based condition

  1. Create or open a personalization variant.
  2. Add an affinity condition.
  3. Enter the affinity name, for example loan_type.
  4. Enter the affinity value, for example personal.
  5. Save and publish the variant.

Or, you can add affinity based condition in component level personalization decision table-


* We will discuss component level personalization in SitecoreAI in upcoming blog.

The condition is satisfied when suv is the visitor's highest-scoring value within loan_type. It's a "top value" check, not a threshold. A visitor with a small interest in personal loan but a bigger interest in home loan won't match.

Type the values exactly as they appear in your taxonomy. A mismatched value doesn't throw an error. It just never matches.

Verify the configuration

Run this end to end, ideally in a clean browser profile:

  1. Visit the site anonymously and confirm a Visitor profile is created.
  2. Browse several tagged pages and confirm affinity scores appear and change.
  3. Sign in and confirm an IDENTITY event is sent with the expected provider and identifier.
  4. Confirm the profile becomes Identified.
  5. Repeat on a second device or browser, sign in with the same identifier, and confirm the duplicate is Retired and the activity sits on one profile.
  6. Load a page with your affinity-based variant and confirm the right content shows.


Checking only the SitecoreAI UI confirms the configuration exists. It doesn't confirm the data path works. Watch the network requests in dev tools while you test.

Common mistakes

Identity rule configured, no IDENTITY events sent. The most frequent issue by a wide margin. The rule can't match what never arrives.

Treating email as a behavioral signal. Identity tells you who. It tells you nothing about intent.

Inconsistent affinity names. Variations of the same concept split scores and break conditions.

Expecting untagged or other-site pages to contribute. Only tagged pages on that site feed the score.

Troubleshooting

If profiles aren't merging, start at the browser, not the UI. Is the IDENTITY event present in the network traffic? Does it carry the provider your rule expects? Is the identifier formatted the same way across devices?

If affinity scores stay empty, check that VIEW events are firing on the tagged pages and that you tagged the right site. I've seen teams tag pages on a staging site and then test against production.

If a personalization variant never shows, compare the name and value in the condition character by character with the page configuration, then check whether another value in the same affinity name is actually the visitor's top score.

Best practices and real project tips

Assign three owners before launch: someone for identity governance (identifiers, privacy, matching strategy), someone for event quality (reliable VIEW and IDENTITY events), and someone for the affinity taxonomy. When these belong to nobody, they degrade within a few months.

Test across anonymous sessions, identified sessions, multiple devices, and repeat visits. Most identity problems only appear in the second-device test, and it's the one QA skips most often.

Keep the initial taxonomy small. A few affinity names with a handful of values each is enough to prove value.

Summary

Identity resolution and affinities solve different problems, and each is weaker without the other. My order on any SitecoreAI implementation is fixed: settle the identity strategy, prove the event pipeline, then introduce a controlled affinity taxonomy. Personalization built on that foundation holds up. Personalization built before it tends to look fine in a demo and fall apart on real traffic.

References