Skip to content

AI traffic: Vercel

This connection works today. If your site is hosted on Vercel, a log drain sends a record of every request to an address you choose. Zeo Radar picks only the AI bot lines out of that stream and collects them on the AI Traffic screen: which bot fetched which page, how many times, and what status code your server returned.

It does not try to process every line you send. Non-bot lines are counted and discarded, so it is safe to connect the stream without filtering it.

  • A Pro or Enterprise team on the Vercel side. Drains are not available on the Hobby plan.
  • An account that can change team settings.
  • The Radar Pro or Custom plan in Zeo Radar.
  • An ingest token, generated with the “Connect a continuous stream” button on the AI Traffic screen in the app. The token represents your brand and must be kept secret.
  1. Open the brand in the app, choose Connect a continuous stream on the AI Traffic screen, and copy the address it gives you. It looks like this:
https://app.zeoradar.com/api/bot-logs?token=YOUR_INGEST_TOKEN
  1. In Vercel, go to team settings > Drains > Create Drain.
  2. Set Type to Logs.
  3. Set Destination to Custom Endpoint.
  4. Set Format to NDJSON or JSON. Both are read; NDJSON takes less space on large sites.
  5. Paste the address from step 1 into the Endpoint URL field.
  6. Choose which projects and which environments (Production, Preview) to send. Production alone is usually enough, since bots do not visit preview environments.
  7. Choose Create. While creating the drain, Vercel immediately tests the endpoint and expects a 200. If creation succeeds, the connection is working.

Once the drain is saved, run two checks.

First, the drain itself: if Vercel did not error during creation, the address and the token are correct. Second, real data. Make a request to your site with a bot identity:

Terminal window
curl -A "OAI-SearchBot/1.0" https://yourdomain.com/ -o /dev/null -s

Then refresh the AI Traffic screen in the app. The Bot requests counter should go up and an OAI-SearchBot row should appear in the table. Vercel ships the stream in batches, so a delay of a few minutes is normal.

SymptomCauseFix
The Drains menu is not visibleThe Hobby planUpgrade the team to Pro, or use custom log shipping
An error while creating the drainThe address is mistyped, or the token is invalidCopy the address from the app again and make sure the whole token was pasted
The drain is set up but there is no dataNo AI bot has visited the site yetRun the curl test above; if the counter moves, the stream is working
Response 401 “Unknown ingest token”A new token was generated and the old one is invalidUpdate the token in the drain address
Response 413More than 5,000 lines in a single batchReduce the Vercel batch size, or send Production only
Data arrives but page paths are emptyThe records carry no path fieldMake sure the drain type is Logs
The unverified column is filling upThe bot name is used from an address the vendor never publishedA sign of a fake bot, block it at the network layer

feedback.question