Skip to main content
Contextual targeting allows you to reach users based on the content they’re currently viewing, without relying on user history or cookies.

Overview

Implementation

Use Cases

Overview

Contextual Cohorts enable publishers to target ads based on contextual data derived from page content without processing or storing any user data. Since no user consent is required, Contextual Cohorts allow publishers to reach users who have not given consent and cannot be targeted with behavioral data today.

Contextual Cohorts work by analyzing page-level signals such as automated content classifications, editorial metadata, and affinity scores from consented users. This enables publishers to create a differentiated contextual targeting offering that combines the precision of content understanding with the unique insights from their first-party data.

Privacy Benefits

Contextual Cohorts operate entirely on page-level data, requiring no user consent. This enables publishers to monetize inventory from users who haven't consented to data collection, expanding addressable inventory while maintaining privacy compliance.

Key privacy benefits:

  • No user data processing - Targets content, not user behavior
  • No consent required - Works for all users regardless of consent status
  • No cross-site tracking - Only analyzes current page content
  • Cookie-less - Works without third-party cookies or persistent identifiers

Behavioral vs Contextual

AspectBehavioral CohortsContextual Cohorts
Based onUser historyCurrent content
SpeedMinutes to hoursReal-time
PersistenceLong-termSession/page
PrivacyRequires user profileNo profiling needed
AccuracyImproves over timeImmediate
Use CaseAudience targetingContent alignment

Implementation

Page Properties

The primary way to enable contextual targeting is through page properties:
These properties are analyzed to generate contextual cohorts like:
  • automotive_electric_vehicles
  • business_sustainability
  • technology_green_tech

Content Classifications

Permutive can integrate with content classification providers for automated contextual data:

URL-Based Context

The SDK automatically captures URL context:

Contextual Cohorts

How They Work

  1. Page loads with content metadata
  2. SDK sends context to Permutive
  3. Real-time analysis determines applicable contextual cohorts
  4. Cohorts returned immediately (milliseconds)
  5. Ad requests include contextual targeting

Accessing Contextual Cohorts

Contextual cohorts are included in segment calls:

Contextual-Only Targeting

For users without behavioral data (new visitors, no consent):

Page Property Best Practices

Article Pages

Video Pages

Homepage

Section/Category Page

Use Cases

Use contextual data to ensure ads appear alongside appropriate content:

Combining Behavioral and Contextual

The most effective targeting often combines both signals:

Contextual Data Flow

Troubleshooting

Problem: Page properties set but no contextual cohorts.Solutions:
  • Verify page properties in debug mode
  • Check that contextual cohorts are configured in dashboard
  • Ensure categories match configured cohort rules
  • Allow a few seconds for processing
Problem: Page classified incorrectly.Solutions:
  • Review page property values
  • Use more specific categories/tags
  • Check for conflicting signals in page data
  • Contact support for classification tuning
Problem: Contextual cohorts exist but ads not targeting.Solutions:
  • Verify contextual cohorts are activated for the ad platform
  • Check _pdfps (or platform-specific key) in localStorage
  • Confirm ad server is reading targeting values
  • Test with debug mode enabled

Contextual Cohorts

Build contextual cohorts

Pageview Tracking

Configure page properties

Google Ad Manager

Contextual targeting in GAM

Classification Providers

Content classification integrations