Skip to main content
The website snippet counts people who arrive from ChatGPT, Perplexity and other AI answers. Crawlers don’t run JavaScript, so it can’t see them. For crawlers, use Cloudflare or send your server logs. Sees: AI referrals.

Install

Paste this line into your site’s <head>, replacing YOUR_SITE_KEY with your key from Integrations:

Where to paste it

Options

How it behaves

  • Sends one small request per page load: the hostname, path, query string, referrer and time.
  • Loads asynchronously and never throws errors into your page.
  • Sets no cookies and stores nothing in the browser.
  • The visitor’s IP address, user agent and country are read by RankRaft AI from the request itself, never from the page, so they can’t be forged from the browser.
  • Visits that aren’t from an AI engine are counted toward your daily totals and not stored individually.
The site key in the snippet is visible to anyone who views your page source. That is expected. Data is only accepted for your site’s allowed hostnames.