Next.js
One command in your project. It registers the site, adds the proxy, saves the key (and adds it to Vercel or Netlify if they're linked), and the collector confirms ownership by itself after you deploy.
npx @aikaara/agentlog init
Any other site: Wix, Squarespace, Webflow, WordPress, static
Get a snippet for your domain.
1. Paste this into every page's head
Wix: open the site's Dashboard (not the Editor) → Settings → Advanced → Custom Code → + Add Custom Code → All pages, Head. Wix only allows this on a Premium plan with a connected domain. Squarespace: Settings → Advanced → Code injection → Header. Webflow: Site settings → Custom code → Head. WordPress: any header-scripts plugin.
It records visitors who arrive from AI answers, and it confirms that you own the site.
2. Optional: see AI crawlers too
Crawlers don't run scripts, so a script tag can't see them. If your domain's DNS runs through Cloudflare, put a Worker in front of the site. It passes every request through untouched:
Your key, shown only now. The Worker needs it, so keep it somewhere safe:
3. Check
After the snippet is live, check here, or wait: the first visit from an AI answer confirms it automatically. A DNS TXT record also works:
Show it on your site
Paste the widget into any page, or link to your public page:
What gets published
- Counts of AI crawler visits (checked against the IP ranges operators publish), discovery-file reads, agent tool calls and their success rate, and visitors from AI answers.
- Never page content, queries, tool arguments, IP addresses or anything about individual people.
- Ownership is confirmed by your domain serving a code, so nobody can publish numbers for a site they don't run.