Agent traffic is on the Growth plan.
- People and other bots pass straight through to your site.
- AI bot visits are logged to Sightline in the background.
- AI-ready pages: with it turned on, AI assistants’ bots get your approved AI-ready page for that URL. Search engine crawlers never do.
Set up
1
Add your site in Sightline
Open Settings → Integrations → Agent traffic and click Add site. Copy the site key. It’s only shown once.
2
Copy the Worker code
On the same screen, click Copy Worker code.
3
Deploy the Worker
- Cloudflare dashboard
- Wrangler CLI
- Go to Workers & Pages → Create → Hello World, then Edit code. Paste the code and click Deploy.
- In the Worker’s Settings → Variables, add
AV_APP_URL,AV_SITE_IDandAV_AXPas plain text, andAV_SITE_KEYas a secret. - In your zone, open Workers Routes → Add route, enter
example.com/*(your domain) and choose this Worker.
4
Test it
Serving AI-ready pages
SetAV_AXP to on in the Worker’s variables, and turn on Serve approved pages for the site in Sightline. Only pages you’ve approved in Settings → AI-ready pages are served.
If a Worker is already on the route
Cloudflare runs only one Worker per route. If your site already has one (another analytics Worker, redirects and so on), chain them:- Give the Sightline Worker a service binding named
AV_NEXTthat points to your existing Worker (Settings → Bindings → Add → Service binding). - Deploy the Sightline Worker.
- Point the route at the Sightline Worker.