Fastly.
Deploy AI bot tracking at the edge using Fastly Compute. Lightning-fast detection with global distribution for any website.
There is no ready-made Fastly snippet yet, so this page does not give you working tracking code. To track AI crawlers today, use Cloudflare or Amazon CloudFront, or call the xSeek API from your server.
Overview (planned)
Fastly Compute provides edge computing capabilities that let you detect and track AI bots before they reach your origin server. Using JavaScript/WASM at the edge, you can implement AI bot detection with minimal latency across Fastly's global network. This approach works with any website behind Fastly and provides comprehensive tracking without modifying your origin infrastructure.
What it will do
Requirements
- Fastly account with Compute enabled
- Fastly CLI installed
- API key from xseek
- Website ID from your xseek dashboard
Planned setup
- 01
Ensure AI bots are allowed through Fastly's security and bot protection settings
- 02
Create a Fastly Compute service for your domain
- 03
Deploy our JavaScript detection code using Fastly CLI
- 04
Configure environment variables with your API key and website ID
- 05
Activate the service to start tracking AI bot visits
- 06
Monitor traffic through your xseek dashboard
What works today
XSEEK_API_KEY=your_api_keyXSEEK_WEBSITE_ID=your_website_idYour API key can be found in your account settings. Make sure it has the ai_visits:push privilege.
No Fastly snippet yet: build it with the API
There is no ready-made Fastly Compute code to copy. If you run Fastly Compute, you can detect AI crawlers in your own service and send each visit to the xSeek tracking API.
What that takes:
- Make sure Fastly's security and bot protection let AI crawlers through
- Match AI crawler user agents in your Fastly Compute service
- Send a POST to the xSeek tracking endpoint when one matches
- Pass the request through to your origin
The API Integration page documents the tracking endpoint, the request format and the responses.
We can walk you through the setup or review your configuration.