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
Step 2: Configure Vercel Log Drains
Configure project scope
- Select Specific Projects
- Choose the project you want to monitor for AI traffic
You can monitor multiple projects by creating separate log drains for each one.
Configure log sources
Select both Static and Function as your log sources to capture complete AI agent interactions.
Step 3: Connect GrowthOS Endpoint
Copy GrowthOS endpoint URL
Return to your GrowthOS setup tab and copy the Endpoint URL provided in the integration setup.
Paste endpoint in Vercel
Back in Vercel, paste the copied endpoint URL into the endpoint input field.
Add authentication headers
You’ll need to add two custom headers:
- Header Key: Copy from GrowthOS and paste into Vercel
- Header Value: Copy from GrowthOS and paste into Vercel
These headers authenticate your log drain with GrowthOS securely.
Step 4: Complete Verification
Copy verification header
Vercel will generate an
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
You should see a green checkmark indicating successful header verification.
Finalize setup
- Click Add Log Drain in Vercel
- Confirm by clicking Confirm and Add Log Drain
- Click Done when complete
What You’ll Monitor
Once integrated, GrowthOS will track:AI Crawler Activity
Monitor visits from GPTBot, GoogleBot-AI, Claude-Web, and other AI agents.
Content Access Patterns
See which pages AI agents crawl most frequently and optimize accordingly.
Response Performance
Track how quickly your site responds to AI agent requests.
Blocked Resources
Identify content that AI agents can’t access due to restrictions.
Troubleshooting
Log drain not receiving data
Log drain not receiving data
Common solutions:
- 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
Check these items:
- 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
Remember:
- 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
Next Steps
Optimize for AI Visibility
Learn how to use your AI traffic data to improve your content’s visibility in AI search results.
Need help with your integration? Contact our support team at support@growth-os.co for personalized assistance.