Back to integrations
Integration docs·imperva.com

Imperva.

Track AI bots at the edge with Imperva's CDN and WAF. Secure, high-performance detection integrated with Imperva's security features.

Not available yet

There is no ready-made Imperva 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.

01

Overview (planned)

Imperva's CDN and Web Application Firewall can be extended to detect and track AI bot visits. By leveraging Imperva's custom rules engine or IncapRules, you can implement AI bot detection at the edge while maintaining Imperva's security protections. This solution works seamlessly with Imperva-protected websites and provides bot tracking without compromising security.

02

What it will do

Edge detection using Imperva IncapRules
Integration with Imperva's WAF and DDoS protection
Global CDN distribution
No origin server modifications needed
Real-time AI bot analytics
Identifies all major AI crawlers
Compatible with Imperva security policies
Enterprise-grade reliability
03

Requirements

  • Imperva CDN or Cloud WAF subscription
  • Access to IncapRules configuration
  • API key from xseek
  • Website ID from your xseek dashboard
04

Planned setup

  1. 01

    Ensure AI bots are allowed through Imperva's WAF and security policies

  2. 02

    Access your Imperva dashboard and navigate to IncapRules

  3. 03

    Create a new rule to detect AI bot user agents

  4. 04

    Configure the rule to call our tracking API endpoint

  5. 05

    Add your API key and website ID to the rule configuration

  6. 06

    Deploy the rule and verify AI bot tracking in xseek dashboard

05

What works today

Environment variables requiredrequired
Add these environment variables to your project:
XSEEK_API_KEY=your_api_keyXSEEK_WEBSITE_ID=your_website_id

Your API key can be found in your account settings. Make sure it has the ai_visits:push privilege.

No Imperva rule yet: track at your origin

There is no Imperva rule or snippet to copy. Imperva sits in front of your server, so the way to track AI crawlers today is on the server itself, with the API.

What that takes:

  1. Make sure Imperva's WAF and bot policies let AI crawlers through
  2. Add the server-side detection code from the API guide to your origin
  3. Know the limit: pages Imperva serves from its cache never reach your server, so those visits are not counted

The API Integration page documents the tracking endpoint, the request format and the responses.

Need more help?

We can walk you through the setup or review your configuration.

Contact support