← Back
Send Visit Events From Your WordPress Website
Are You Using WordPress VIP?
If so, use the WordPress VIP integration instead.
Step 1: Install the Plugin
- Navigate to the Known Agents Projects page and open your project
- Copy your access token from the Settings page
- Log in to your website's WordPress dashboard
- Click Plugins in the sidebar
- Search for Known Agents (Plugin Directory)
- Click Install Now
- Click Activate
Step 2: Enable Agent Analytics & AI Chat Referral Tracking
- Click Known Agents in the sidebar
- Paste in your access token
- Make sure the Enable Agent Analytics & AI Chat Referral Tracking box is checked
- Click Save Changes
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.
Extend Your Integration
Block Bad Bots
Use the bad bot blocking guide to enforce your robots.txt rules.
Track 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.