LLMAffiliate AI Traffic Monetizer is a WordPress plugin that detects Large Language Model (LLM) traffic and dynamically serves enhanced content while ensuring compliance with search engine parity requirements.
It mirrors the behavior of an interception layer (e.g., Cloudflare Worker) directly inside WordPress, enabling controlled content delivery for AI crawlers and agents.
The plugin intercepts incoming HTTP requests and:
An in-plugin setting (Settings LLMAffiliate AI Traffic Advanced Detection Settings) allows you to disable request and suspicious-event logging. When disabled, no logs are stored. When enabled (default), the plugin may store operational or security logs. These may include:
* IP address
* User agent
* Requested URL
* Referer
* Selected HTTP headers
* Detection and decision metadata
* Suspicious-event or request logs
This logging is used for debugging, security analysis, and request classification. Data is stored within your WordPress database. Configure and retain logs in accordance with your privacy policy and applicable regulations.
The plugin can serve a public /ai-terms page (or equivalent) that displays your site’s AI usage and content terms. It functions as a site-published policy page that visitors—including AI systems and human readers—can view. Site owners are responsible for the contents and legal suitability of the terms. The plugin includes a default template; you may customize it to match your needs.
This plugin connects to the LLM Affiliate cloud service to detect visiting AI crawlers (ChatGPT, Perplexity, Claude, Gemini, Copilot, etc.) and return an LLM-optimized, monetizable version of the requested article. Without this external service the plugin still performs local LLM detection, search-engine parity, and renders the /ai-terms page, but the enhanced-content feature is not available.
This service is provided by LLM Affiliate (llmaffiliate.com).
Service endpoints used:
Site Onboarding — POST https://api.llmaffiliate.com/api/v1/enhanced-content/onboarding/
token – the authentication token generated by the pluginsite_id – an internal site identifier (e.g., site_xxxxxxxx) generated by the pluginhost – your site’s public URL (WordPress home_url())Enhanced Content Render — GET https://api.llmaffiliate.com/api/v1/enhanced-content/render
url – the public URL of the article being requested (query string + path)llm_profile – the detected LLM profile name (e.g., chatgpt, claude, gemini)User-Agent header – forwarded from the visiting LLM clientAccept-Language header – forwarded from the visiting LLM clientX-LLM-Profile header – the plugin’s detected profileX-LLM-Confidence header – a numeric confidence score (0–1) from the local detectorAll requests are made over HTTPS. If the service is unavailable or returns a non-200 response, the plugin adds an X-LLMAFFTM-Interceptor: fallback header and allows WordPress to render the normal (origin) page — humans and LLMs always receive something.
Use of the LLM Affiliate service is governed by the provider’s terms. Please review them before generating a token: