Skip to main content
Agent traffic and WordPress publishing are on the Growth plan.
The Sightline WordPress plugin does two things:
  • Agent traffic: it logs visits from AI bots (the page, the status code and how long it took) and sends them to Sightline. People’s visits are never sent, and the plugin sets no cookies.
  • Publishing: it lets you publish reviewed changes from Sightline to your site, and undo them.
It requires WordPress 5.6 or later and PHP 7.4 or later.

Install

1

Add your site in Sightline

Open Settings → Integrations → Agent traffic and add your site.
2

Download the plugin

Click Download WordPress plugin. The zip is built for your site, with your connection details and site key already inside, so it’s connected as soon as you activate it.
3

Install it in WordPress

In WordPress, go to Plugins → Add New → Upload Plugin, choose the zip, then click Install Now and Activate.
4

Send a test event

Open the plugin’s settings page and click Send test event. It appears on Sightline’s Agent traffic page as AIVisibility-Testbot.
If you downloaded the plugin without a key (from the WordPress plugin button on a site row), paste the site key on the plugin’s settings page and save.

Settings

The plugin’s settings page has:
  • The connection and a health check, with Send test event.
  • A sample rate and path exclusions for busy sites.
  • Which header holds the visitor IP, for sites behind a proxy.
  • Allow changes from the dashboard, to turn publishing on or off.
  • Help with page caching (see below).

Page caching

Pages served from a full-page cache never reach WordPress, so those bot visits can’t be counted.
  • WP Rocket: the plugin tells it not to serve cached pages to AI bots automatically.
  • Other caching plugins, hosts and CDNs: add the user agents listed on the plugin’s settings page to their “never cache” list.
  • Sites on Cloudflare: the Cloudflare Worker sees every request, cached or not.

What’s sent

For AI bot visits only: the time, the bot’s user agent, the path (without the query string), the request method, the status code, the response time and the bot’s IP address. The IP address is used to check that the bot really comes from its operator. Sending happens after the page has been delivered, so it doesn’t slow your site down.

Spoofed bots

Sightline checks bot visits against the IP address lists that OpenAI, Perplexity, Google and Microsoft publish. Requests that claim to be an AI bot but come from outside those addresses are flagged as spoofed.

Updating

Download the plugin again from Sightline and upload it the same way. WordPress offers to replace the installed version, and your settings are kept. If you create a New key for the site, download the plugin again so it uses the new key.

WordPress MCP

On sites where the WordPress Abilities API is enabled, the plugin registers two abilities that WordPress MCP clients can use:
  • ai-visibility/publish-content: publishes content the same way Sightline does.
  • ai-visibility/site-context: a read-only summary of the theme, page builder, page or post choice, SEO plugin and top menu items.