← Back
Connect Your Cloudflare Website to Agent & LLM Analytics (Using Logpush)
Are You on a Free or Pro Cloudflare Plan?
If so, use the Cloudflare Worker integration to connect your website instead.
Overview
This guide shows you how to use Cloudflare Logpush to connect your website to Agent & LLM Analytics. Please contact us if you need help.
Step 1: Configure Custom Fields
- Select your domain in your Cloudflare dashboard
- In the sidebar, click Logpush under Analytics & Logs
- In the Custom log fields section, click Edit Custom Fields
- Add the following three Request Header custom fields:
signaturesignature-agentsignature-input
Step 2: Create a Logpush Job
- Select your domain in your Cloudflare dashboard
- In the sidebar, click Logpush under Analytics & Logs
- Select HTTP destination
- Paste in this endpoint:
https://api.knownagents.com/logs/cloudflare?header_Authorization=Bearer%20YOUR_ACCESS_TOKEN
- Navigate to the Known Agents Projects page and open your project
- Copy your access token from the Settings page
- Back in Cloudflare, swap in your access token where it says
YOUR_ACCESS_TOKEN(don't delete the "%20") - Click Continue
- Select the HTTP requests dataset
- Make sure these fields are selected:
EdgeStartTimestampClientRequestHostClientIPClientRequestMethodEdgeResponseStatusClientRequestPathClientRequestURIClientRequestUserAgentClientRequestRefererEdgeEndTimestampRequestHeadersEdgeResponseContentType
- Expand Advanced Options and make sure rfc3339 is selected in the Timestamp format dropdown
- Click Submit
Step 3: Test Your Integration
- Navigate to the Projects page
- Select your project
- Click Settings
- Click Send a Test Visit
- Click Realtime
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
The WordPress plugin currently only tracks standard pageview requests. MCP, ACP, and UCP requests are not tracked. If this is a requirement for you, please contact us to learn how to extend your integration.