Salespeak LLM Optimizer

설명

This plugin allows your WordPress site to integrate with Salespeak’s LLM optimization platform.

AI Search Analytics Monitor how often AI tools access and cite your content over time – just like Google Analytics for AI traffic
Page Performance Intelligence See exactly which pages ChatGPT, Claude, and other AI agents actually use when answering questions – the foundation of effective AEO
Agent Identification & Analysis Identify which specific AI agents are scanning your site and discover content patterns that attract more AI visits
AEO Content Gap Detection Discover what critical information is missing from your most-accessed pages to optimize for Answer Engine performance

When known AI crawlers visit your website:
* Events are logged to Salespeak’s analytics service.
* If alternate content exists for bots, it is served from Salespeak’s public S3 hosting.
* Cache-safety ensures humans and bots never see mismatched cached content.

With Salespeak LLM Optimization, the website is restructured to embed the original content along with structured Q&A, testimonial cues, and comparison data—making it natively readable for ChatGPT and other LLMs.

Cache Compatibility

This plugin includes built-in support for bypassing cache on AI bot requests for:

  • WP Engine – via wpe_is_cacheable filter
  • WP Rocket – via do_rocket_generate_caching_files filter
  • LiteSpeed Cache – via litespeed_can_cache filter and LSCACHE_NO_CACHE constant
  • W3 Total Cache – via w3tc_can_cache filter
  • WP Super Cache – via wp_super_cache_late_init filter
  • SiteGround Optimizer – via sg_optimizer_cache_is_enabled filter
  • Kinsta – via cache-control headers
  • Cloudflare APO – via cookie-based bypass

Server-Level Caching (Nginx, Varnish, CDN)

If you use server-level caching that runs BEFORE PHP/WordPress, you may need additional configuration:

For Nginx FastCGI Cache, add to your server config:

if ($http_user_agent ~* "(ChatGPT|GPTBot|ClaudeBot|PerplexityBot|Claude-User|Claude-Web|Google-Extended|bingpreview|OpenAI)") {
    set $skip_cache 1;
}

For Varnish, add to your VCL:

if (req.http.User-Agent ~ "(?i)(ChatGPT|GPTBot|ClaudeBot|PerplexityBot|Claude-User|Claude-Web|Google-Extended|bingpreview|OpenAI)") {
    return (pass);
}

For Cloudflare (non-APO), create a Cache Rule:
– When: User Agent contains "ChatGPT" or "GPTBot" or "ClaudeBot" or "PerplexityBot"
– Then: Bypass cache

The plugin sends X-Salespeak-AI-Bot: 1 header for AI bot requests to help with debugging.

Safety & Performance

This plugin is designed to have ZERO impact on normal visitors:

  • All cache bypass logic only executes when the User-Agent matches a known AI bot pattern
  • For non-AI requests, all filter callbacks immediately return the original value (pass-through)
  • No headers, cookies, or constants are set for normal visitor requests
  • AI bot detection is cached per-request to avoid repeated regex checks
  • The plugin only modifies behavior for an explicit list of known AI bot User-Agent strings:
    • ChatGPT-User, GPTBot, Claude-User, Claude-Web, ClaudeBot
    • PerplexityBot, Google-Extended, bingpreview, OpenAI
    • Applebot-Extended, CCBot, anthropic-ai, cohere-ai

External Services

This plugin integrates with the following external services:

Salespeak Analytics API

Service: Salespeak’s event tracking and analytics service
Purpose: Logs AI bot visits and user interactions for analytics and optimization purposes
Data Sent: When AI bots are detected, the plugin sends:
– Website URL being visited
– Bot type (ChatGPT, Claude, GPTBot, etc.)
– Organization ID (for account association)
– Request ID (for tracking)
– Campaign ID (default value for organization tracking)
When Data is Sent: Only when AI bots are detected visiting your website
Service Provider: Salespeak (https://salespeak.ai)
Terms of Service: https://salespeak.ai/terms
Privacy Policy: https://salespeak.ai/privacy

Salespeak Content Delivery Network (CDN)

Service: Amazon S3-based content delivery network for serving optimized content
Purpose: Serves alternate, AI-optimized content to detected AI bots
Data Sent: No data is sent to this service – it only serves content based on URL requests
When Data is Sent: Not applicable – this is a content delivery service only
Service Provider: Amazon Web Services (AWS) S3, managed by Salespeak
Terms of Service: https://aws.amazon.com/service-terms/
Privacy Policy: https://aws.amazon.com/privacy/

Privacy and Data Handling

This plugin only sends data when AI bots are detected visiting your website. No personal user data is collected or transmitted. All data is used solely for analytics and content optimization purposes. The plugin respects user privacy and does not track individual human visitors.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Salespeak LLM Optimizer”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Salespeak LLM Optimizer”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.6.0

  • CRITICAL FIX: Cache bypass now runs at plugins_loaded (priority 1) instead of template_redirect to ensure cache is bypassed before caching plugins serve cached content
  • Added support for LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache, SiteGround Optimizer, and Kinsta
  • Added Cloudflare APO bypass support via cookie
  • Added send_headers hook to send no-cache headers earlier in the request lifecycle
  • Added Surrogate-Control and X-Accel-Expires headers for Varnish/Fastly and Nginx FastCGI cache bypass
  • Added X-Salespeak-AI-Bot: 1 debug header to help identify AI bot requests
  • Added detection for additional AI bots: Applebot-Extended, CCBot, anthropic-ai, cohere-ai
  • Added Cache Compatibility documentation with server-level configuration examples
  • Centralized AI bot detection into is_ai_bot_request() method for consistency

1.5.9

  • Added WP Engine cache bypass filter (wpe_is_cacheable) for AI bot requests
  • Safe UA handling: only bypasses cache when User-Agent is present and matches AI bot patterns
  • Supports: ChatGPT-User, GPTBot, Google-Extended, bingpreview, PerplexityBot, Claude-User, Claude-Web, ClaudeBot, OpenAI

1.5.8

  • Minor stability improvements

1.4.5

  • ✅ Enhanced performance for AI usecases
  • ✅ Added country location data
  • ✅ Maintains cache safety headers, Claude detection, and escaping for output.