plugin-icon

aiMiles – AI Agent

作者:aimiles·
Detect AI agents (GPTBot, ClaudeBot, PerplexityBot, etc.) visiting your WordPress site and monetize them with sponsored content injection.
版本
0.2.0
活跃安装
10
最后更新
Apr 8, 2026

aiMiles detects AI agents visiting your WordPress site and allows you to serve them sponsored content.

How It Works

  1. When any request hits your site, the plugin checks the User-Agent header
  2. If it matches a known AI bot signature (25+ supported), the request is routed through the aiMiles serve API
  3. The API fetches your original page, appends a sponsored message, and returns the result to the bot
  4. Human visitors are never affected — they always see your original, unmodified pages

Supported AI Agents

  • GPTBot (OpenAI)
  • ChatGPT-User (OpenAI)
  • ClaudeBot (Anthropic)
  • Claude-Web (Anthropic)
  • PerplexityBot (Perplexity)
  • Google-Extended (Google)
  • Meta-ExternalAgent (Meta)
  • AppleBot-Extended (Apple)
  • ByteSpider (ByteDance)
  • CCBot (Common Crawl)
  • And 15+ more

Configuration

Enable/Disable

Toggle detection and serving on/off.

API Key

Your aiMiles API key is required. Get one at https://app.aimiles.ai/publishers/settings

External services

This plugin connects to the aiMiles serve API (https://app.aimiles.ai/api/serve) to proxy AI bot requests. An API key is required to use this service.

Data sent to the API

When an AI agent is detected visiting your site, the plugin makes a request to https://app.aimiles.ai/api/serve with the following query parameters:

  • url — The full URL the bot was requesting on your site
  • key — Your API key (for authentication)
  • ua — The visitor’s User-Agent header

The serve API fetches your original page, appends sponsored content, logs the visit, and returns the modified HTML. This happens on every AI agent page visit. Human visitors are never routed through the API.

Service provided by aiMiles: Terms of Service, Privacy Policy.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9.5
这个插件是可用的下载,适用于您的站点。