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.
The LLMAffiliate service can provide a Google Search Console HTML tag verification token on llmaffiliate.com for connected sites (see your dashboard or integration docs). If you choose to use it, open Settings LLMAffiliate AI Traffic in WordPress and paste the token into the prominent Use LLMAffiliate’s Search Console verification field, then save. The token is stored only in your site’s database and outputs the standard <meta name="google-site-verification" …> tag on your public frontend. You can clear the field at any time to remove the tag.
Why this helps: With your consent, LLMAffiliate can verify the site in Search Console tied to that token, which helps the service monitor indexing coverage and page performance for your integration and support you more effectively. This is fully optional; if you leave the field empty, nothing is added to your HTML.
No extra HTTP request is made to Google from the plugin for this feature—the meta tag is for Google’s crawler when it visits your site.
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 detectorUser sitemaps (for the plugin sitemap endpoint only) — GET https://api.llmaffiliate.com/api/v1/enhanced-content/public/user-sitemaps?host=<hostname>
/sitemap.xml (or the configured sitemap path) as a simple URL index for search engines.host query parameter is your site’s hostname from WordPress home_url() (no path, no user input from forms).host only, in the query string. Each item in the JSON sitemaps array includes site_url and last_modified. Non-200 responses result in an empty <urlset> (no URLs listed).All 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: