ContextHub is AEM's built-in framework for client-side personalization. It stores visitor context (location, device, behavior, session data) and uses segments to deliver targeted content without a separate platform. Below are 13 use cases mapped against their relative impact on the OnDemand shopping experience and the effort required to implement each one.
| Use case | Impact | Effort | What's needed |
|---|---|---|---|
|
New vs. returning visitor messaging
Welcome-back messaging for returning visitors. Skip intro content, surface "pick up where you left off" cues.
e.g. "Welcome back — ready to complete your order?"
|
High | Simple | Out-of-the-box surferinfo store + page hit count |
|
Page-hit urgency nudges
After 3+ visits to the same test PDP without purchasing, show a "still deciding?" nudge with social proof or a limited-time prompt.
e.g. "This is one of our most popular tests — 12,000+ ordered this month"
|
High | Simple | Out-of-the-box page data store (hit counter) |
|
Browser / device targeting
Show mobile-specific CTAs (tap-to-call, app install banners) vs. desktop-optimized layouts.
e.g. Show "Call to schedule" button on mobile, "Find a location" map on desktop
|
Medium | Simple | Out-of-the-box surferinfo store (browser/device) |
|
Time-of-day messaging
Display "same-day results available" only during lab operating hours. Show different messaging on weekends.
e.g. "Order now, get results by 6pm today" (weekdays 7am–2pm only)
|
Medium | Simple | Out-of-the-box datetime store |
| Use case | Impact | Effort | What's needed |
|---|---|---|---|
|
Geo-based PSC finder
Auto-surface the nearest Patient Service Center on product pages and checkout using browser geolocation. Reduce friction in the "where do I go?" step.
e.g. "Your nearest location: 2.3 miles — Labcorp at 425 Main St"
|
High | Moderate | Out-of-the-box geolocation store + PSC data feed |
|
Category affinity targeting
Track which test categories a visitor browses (wellness, STI, allergy, drug testing) and prioritize that category on return visits.
e.g. Visitor browsed 3 allergy tests → homepage hero shows "Allergy season? Get answers"
|
High | Moderate | Custom segment rules on page path patterns |
|
Seasonal / campaign banners
Date-driven content swaps: flu season push, back-to-school physicals, New Year wellness bundles, allergy season promos.
e.g. Oct–Feb: flu testing banner; Jan: "New year, new health baseline" promo
|
Medium | Moderate | Date-based segments + scheduled content |
|
Referral source messaging
Tailor hero copy and CTAs based on how the visitor arrived — organic search vs. paid ad vs. email campaign vs. social.
e.g. Paid ad visitor → "Get 10% off your first order" vs. organic → "Explore our most popular tests"
|
Medium | Moderate | UTM params read into store + segments |
| Use case | Impact | Effort | What's needed |
|---|---|---|---|
|
Cart abandonment recovery
Persist cart contents in a ContextHub store. When the visitor returns, show a sticky banner with their saved items and a direct "complete your order" CTA.
e.g. "You left a Comprehensive Metabolic Panel in your cart — pick up where you left off"
|
High | Complex | Custom cart store + persistence layer |
|
Logged-in user personalization
Greet by name, show past orders, suggest re-orders for recurring tests (e.g. quarterly testosterone, annual wellness panels).
e.g. "Hi Sarah — time to reorder your Thyroid Panel? Last ordered 89 days ago"
|
High | Complex | Auth integration + custom profile store |
|
Recently viewed tests
Persistent "recently viewed" module on the homepage and product listing pages so returning visitors can jump back to tests they researched.
e.g. "Recently viewed: Basic Metabolic Panel, Vitamin D, Hemoglobin A1c"
|
Medium | Complex | Custom store + localStorage persistence |
|
Dynamic bundling / cross-sell
"Frequently ordered together" recommendations on PDP and in cart. Based on purchase co-occurrence data or curated bundles.
e.g. "Customers who ordered this also added: Vitamin D ($39) + Iron Panel ($49)"
|
High | Complex | Product data API + recommendation logic |
|
Health profile quiz → personalized recs
Short intake quiz ("What are your health goals?") stores answers in ContextHub and personalizes the product grid, homepage hero, and email follow-ups.
e.g. User selects "weight management" → products page leads with metabolic + thyroid panels
|
High | Complex | Custom quiz component + profile store + segment rules |
ContextHub personalizes content client-side — the page loads default content first, then swaps in the personalized version after the ContextHub library resolves segments. For above-the-fold elements (hero banners, welcome messaging), this creates a visible flicker. For those high-visibility placements, Adobe Target's server-side delivery may be the better path. ContextHub is strongest for below-the-fold modules, supplementary CTAs, and progressive personalization that doesn't need to be instant.
Suggested rollout approach
Start here (1–2 sprints)
Zero custom dev. Configure built-in stores, author targeted content, validate the workflow.
- New vs. returning visitor messaging
- Page-hit urgency nudges
- Time-of-day lab hours messaging
Build on the foundation (2–4 sprints)
Write segment rules, wire in geolocation, set up seasonal content calendar.
- Geo-based PSC finder
- Category affinity targeting
- Seasonal campaign banners
High-impact investment (4–8 sprints)
Custom store development, API integration, backend coordination required.
- Cart abandonment recovery
- Logged-in user personalization
- Dynamic bundling / cross-sell