Beskrivelse
aiMiles detects AI agents visiting your WordPress site and allows you to serve them sponsored content.
How It Works
- When any request hits your site, the plugin checks the User-Agent header
- If it matches a known AI bot signature (25+ supported), the request is routed through the aiMiles serve API
- The API fetches your original page, appends a sponsored message, and returns the result to the bot
- 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 sitekey— 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.
Installasjon
- Download and unzip the plugin
- Upload the
aimilesfolder to/wp-content/plugins/ - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to Settings > aiMiles to configure
Ofte stilte spørsmål
-
What AI agents are supported?
-
Over 25 AI agents including GPTBot, ClaudeBot, PerplexityBot, Google-Extended, and more.
-
Will this affect regular visitors?
-
No, the injected content is invisible to human visitors and only readable by AI agents.
Vurderinger
Det er ingen omtaler av denne utvidelsen.
Bidragsytere og utviklere
«aiMiles – AI Agent» er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen:
BidragsytereOversett «aiMiles – AI Agent» til ditt språk.
Interessert i utvikling?
Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.
Endringslogg
0.2.0
- Switched to aiMiles serve API — all fetching, injection, and logging now handled server-side
- Removed client-side content injection (class-injector.php) and separate visit logging (class-logger.php)
- Simpler, more reliable architecture with fail-open behavior
0.1.0
- Initial release