Integrations

Connect your website to AI Traffic

Public guide: add your domain in SpyderBot, copy your tracking key, then install the snippet that matches your stack. No account is required to read this page - sign in only when you are ready to add a site in the app.

Browser script for humans & SPAs
Server snippets for bots without JavaScript

Before you install

Get a tracking key from the product (AI Traffic is inside SpyderBot after sign-in).

  1. Create an account or sign in.
  2. Open AI Traffic and add your website (domain). SpyderBot issues a unique tracking key for that site.
  3. Replace YOUR_TRACKING_KEY in the snippets below with your real key.
  4. After traffic hits your site, SpyderBot receives events and marks the installation as active when data arrives.

API endpoint for server-side calls: https://api.spyderbot.net/server-track (POST, JSON body, header X-Tracking-Key).

Browser (recommended for visitors)

Paste in <head> or your SPA root layout so normal browsers load the tracker.

<link rel="preconnect" href="https://spyderbot.net" crossorigin>
<script async src="https://spyderbot.net/wfm.js?key=YOUR_TRACKING_KEY&v={config('tracking.script_version', '1.1.0')}"></script>

More integration channels

Official packages for WordPress, npm, Cloudflare Workers, and a GEO audit CLI.

Server-side (PHP, Node.js, Python)

Use these when you need to record SEO and LLM crawlers that do not execute JavaScript. Run the call on every HTML request path you care about. For accurate LLM referral counts, each visitor needs a unique session_id (see snippets) or add the browser script above.

Ready to add your website?

Sign in and open AI Traffic to generate your real tracking key and verify the connection.