← Back

Send Visit Events From Your Vercel Website

Step 1: Add a Log Drain

Step 2: Configure the Log Drain

Step 3: Configure the Destination

https://api.knownagents.com/logs/vercel
Authorization: Bearer YOUR_ACCESS_TOKEN

Step 4: Test Your Integration

If your website is correctly connected, you should see visits from a test agent in the realtime timeline within a few seconds.

MCP Calls and Agentic Commerce Interactions

This integration only sends pageview events. If you also want to send MCP calls and agentic commerce interactions, send those events through the REST API. For example, you can use the Cloudflare Worker alongside this integration. Otherwise, use the Cloudflare Worker guide as an example of how to send only MCP calls and agentic commerce interactions without duplicating pageview events.