Visitor Groups and Personalization
Why personalization matters
Section titled “Why personalization matters”Every visitor to your site has a different context — their role, industry, location, device, purchase history, and intent all differ. Showing every visitor the same content means most visitors see content that is only partially relevant to them.
Personalization addresses this by tailoring content to visitor context. When done well, it increases engagement, reduces bounce rates, and improves conversion. When done poorly — or overly aggressively — it feels invasive and erodes trust.
Optimizely provides personalization at multiple levels across its platform. Understanding which approach fits your scenario is essential before you start building.
Three approaches to personalization
Section titled “Three approaches to personalization”Optimizely offers three distinct personalization mechanisms. They can be used independently or combined.
| Approach | Where it lives | Defined by | Complexity | Best for |
|---|---|---|---|---|
| Visitor groups (CMS) | CMS content delivery | Content authors and admins | Low | Content variations on CMS pages |
| ODP segments | Optimizely Data Platform | Data teams and marketers | Medium | Cross-channel audiences based on unified customer data |
| Web Experimentation personalization | Experimentation platform | Marketers and optimization teams | Medium-High | Client-side content changes with targeting rules |
Visitor groups (CMS)
Section titled “Visitor groups (CMS)”Visitor groups are the simplest personalization mechanism. They are defined in the CMS admin interface and used by content authors to show different content to different audiences.
A visitor group is a set of criteria that a visitor either matches or does not. When a visitor matches a group, they see content targeted at that group. When they do not match, they see the default content.
How visitor groups work:
- An admin defines a visitor group with one or more criteria (e.g., “First-time visitors from the UK”)
- A content author creates a content area on a page and adds personalized content for that visitor group
- When a visitor loads the page, CMS evaluates the visitor against all active groups
- The visitor sees the content targeted at their matching group, or the default if no groups match
Built-in criteria include:
| Criteria type | Examples |
|---|---|
| Geographic | Country, region, city |
| Behavioral | Number of visits, time on site, pages visited |
| Technical | Browser, operating system, device type |
| Temporal | Day of week, time of day, date range |
| Referral | Search engine, campaign, referring URL |
| User profile | Logged-in status, role, custom properties |
Developers can also create custom visitor group criteria to match against any data source — CRM records, purchase history, or external APIs.
ODP segments
Section titled “ODP segments”Optimizely Data Platform (ODP) provides a deeper level of personalization based on unified customer profiles. Unlike visitor groups (which evaluate criteria in the moment), ODP builds persistent customer profiles from data collected across all channels — website, mobile app, email, and in-store.
When ODP segments add value over visitor groups:
- You need to target based on historical behavior (e.g., “customers who purchased in the last 30 days”)
- You want cross-channel consistency (same segment applies on web, email, and mobile)
- You need real-time audience computation based on streaming events
- You want to sync audiences with advertising platforms
Web Experimentation personalization
Section titled “Web Experimentation personalization”Web Experimentation’s personalization feature delivers targeted experiences through client-side JavaScript. It operates independently of the CMS — changes are made in the Experimentation visual editor and deployed via a snippet on your site.
When to use Experimentation-based personalization:
- You want to personalize without CMS deployments
- You need to run A/B tests on personalized experiences
- Your personalization changes are visual (copy, images, layout) rather than structural
- You want marketers to manage personalization without developer involvement
Decision framework: which approach to use
Section titled “Decision framework: which approach to use”Choose your approach based on your scenario:
| Scenario | Recommended approach |
|---|---|
| Show different hero banners by country | Visitor groups — simple, built into CMS |
| Target users who abandoned cart last week | ODP segments — requires historical data |
| Test two different CTAs for returning users | Web Experimentation — combines personalization with measurement |
| Show VIP pricing to logged-in wholesale customers | Visitor groups with custom criteria — server-side, secure |
| Personalize email and website consistently | ODP segments — cross-channel by design |
| Quick copy changes without a CMS deploy | Web Experimentation — client-side, no deploy needed |
In practice, many organizations use all three. Visitor groups handle content-level personalization inside CMS. ODP provides the audience intelligence. Experimentation measures what works.
How personalization connects to experimentation
Section titled “How personalization connects to experimentation”Personalization and experimentation are complementary, not competing. Personalization decides who sees what. Experimentation measures whether it works.
A common workflow:
- Hypothesize — “Returning visitors convert better when shown product recommendations”
- Personalize — Create a visitor group for returning visitors, show them a recommendations block
- Experiment — A/B test the personalized experience against the default
- Measure — Use Experimentation analytics to determine if the hypothesis was correct
- Scale — If the test wins, roll out the personalization permanently
This workflow is why Optimizely combines CMS, Experimentation, and ODP into a single platform — the data flows between products enable this loop.
Technical considerations
Section titled “Technical considerations”Performance
Section titled “Performance”Visitor group evaluation happens server-side during page rendering. Each request evaluates the visitor against all active groups on that page. Keep the number of concurrent visitor groups reasonable (under 20 per page) to avoid latency.
Caching
Section titled “Caching”Personalized content complicates caching. A page with three visitor group variations is effectively three different pages from a cache perspective. Optimizely handles this through output cache variation, but architects should understand the trade-off between personalization granularity and cache efficiency.
Privacy and consent
Section titled “Privacy and consent”Personalization relies on visitor data. Ensure your approach complies with privacy regulations (GDPR, CCPA). Visitor groups based on geographic or behavioral criteria may require consent. ODP segments based on identified customer data require clear consent management.
1. A marketing team wants to show different homepage hero banners based on the visitor's country. They have CMS but not ODP or Experimentation. Which personalization approach should they use?
CMS visitor groups with built-in geographic criteria are the simplest approach for country-based content personalization when you only have CMS. No additional products are needed.
CMS visitor groups with built-in geographic criteria are the simplest approach for country-based content personalization when you only have CMS. No additional products are needed.
Review this topic →2. An e-commerce site wants to personalize the website for customers who purchased in the last 30 days but have not visited in 2 weeks. They also want the same segment applied to email campaigns. Which approach is required?
ODP segments are needed because the requirement involves historical purchase data (cross-channel), temporal rules (2-week inactivity window), and activation across both web and email channels.
ODP segments are needed because the requirement involves historical purchase data (cross-channel), temporal rules (2-week inactivity window), and activation across both web and email channels.
Review this topic →3. An architect is concerned about cache efficiency on a heavily personalized page with 15 visitor group variations in a single content area. What is the key trade-off they need to understand?
Personalized content complicates caching because a page with multiple visitor group variations is effectively multiple pages from a cache perspective, reducing cache hit rates.
Personalized content complicates caching because a page with multiple visitor group variations is effectively multiple pages from a cache perspective, reducing cache hit rates.
Review this topic →