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

Privacy Benefits

Behavioral vs Contextual

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