AEO integration for WordPress and server-side AI bot detection. Tracks AI bot visits via xSeek’s API (AI bots typically don’t execute JavaScript).
- xSeek docs: xSeek docs: https://www.xseek.io/integrations/wordpress
Most AI bots fetch HTML but do not execute JavaScript, so client-side tracking misses the majority of AI traffic. This plugin detects AI bots server-side (via User-Agent) and sends an event to xSeek when a bot is detected.
API endpoint
POST https://www.xseek.io/api/track-ai-bot
Request body (JSON)
{
"botName": "string",
"userAgent": "string",
"url": "string",
"websiteId": "string",
"ip": "string (optional)",
"referer": "string (optional)"
}- Upload
xseek-aeo-tracking.zip - WordPress → Plugins → Add New → Upload Plugin → Activate
- WordPress → Settings → xSeek AI Tracking
- Enable xSeek tracking (opt-in)
- Paste your xSeek Website ID + API Key (API key must have
ai_visits:push) - (Optional) Enable including IP and/or Referer
- Click Send Test Event to verify configuration
- Opt-in: disabled by default.
- Bot-only: sends only for detected AI bots (not every request).
- Metadata only: no request/response bodies are sent.
- API key storage: encrypted at rest when possible (WordPress salts + libsodium).
No. It only sends events when the request User-Agent matches a known AI bot pattern.
Required: botName, userAgent, url, websiteId. Optional (if enabled): ip, referer.
If you enable “Include IP address”, the plugin uses X-Forwarded-For (left-most) when present, otherwise REMOTE_ADDR.
- If the test event fails, confirm your API key has the
ai_visits:pushprivilege and your Website ID is correct. - Some hosts block outgoing HTTP requests; check your server/firewall rules if you never see events.
MIT — see LICENSE.