Vercel Log Drain Integration
Connect GrowthOS AI Traffic Analytics to your Vercel deployment using Vercel’s log drain feature to monitor AI agent crawl behavior and optimize your content visibility.Prerequisites
Before getting started, ensure you have:- An active GrowthOS account
- Admin access to your Vercel account
- Vercel Pro or Enterprise plan
- Your website domain verified in GrowthOS
Integration Setup
Follow these steps to connect your Vercel project with GrowthOS AI Traffic Analytics:Step 1: Start in GrowthOS
Navigate to AI Traffic Analytics
- Log in to your GrowthOS dashboard
- Navigate to AI Traffic Analytics
- Click on Vercel integration option
Enter your domain
Continue setup
Step 2: Configure Vercel Log Drains
Access Project Settings
- Open your Vercel dashboard
- Navigate to your project
- Go to Project Settings
Navigate to Log Drains
Add new log drain
Select Custom Log Drain
Configure project scope
- Select Specific Projects
- Choose the project you want to monitor for AI traffic
Configure log sources
Set environment
Step 3: Connect GrowthOS Endpoint
Copy GrowthOS endpoint URL
Paste endpoint in Vercel
Enable custom headers
Add authentication headers
- Header Key: Copy from GrowthOS and paste into Vercel
- Header Value: Copy from GrowthOS and paste into Vercel
Save log drain configuration
Step 4: Complete Verification
Copy verification header
x-vercel-verify header. Copy this verification token.Submit verification in GrowthOS
- Return to your GrowthOS setup
- Click Continue
- Paste the
x-vercel-verifyheader value - Click Submit
Verify in Vercel
Finalize setup
- Click Add Log Drain in Vercel
- Confirm by clicking Confirm and Add Log Drain
- Click Done when complete
Complete integration
What You’ll Monitor
Once integrated, GrowthOS will track:AI Crawler Activity
Content Access Patterns
Response Performance
Blocked Resources
Troubleshooting
Log drain not receiving data
Log drain not receiving data
- Verify your Vercel plan supports log drains (Pro/Enterprise required)
- Check that both Static and Function sources are enabled
- Ensure the endpoint URL was copied correctly
- Confirm custom headers are properly configured
Authentication errors
Authentication errors
- Header key and value match exactly between GrowthOS and Vercel
- No extra spaces or characters in the header values
- x-vercel-verify token was submitted correctly in GrowthOS
No AI traffic showing
No AI traffic showing
- AI traffic data can take 24-48 hours to appear
- AI agents don’t crawl all sites equally - traffic depends on your content and authority
- Check that your site isn’t blocking AI agents in robots.txt