🤖 AI Bot Tracker Installation

Track when AI services like ChatGPT, Claude, and Perplexity access your content.

Your Site ID: YOUR_SITE_ID

⚠️ Important: Most AI bots (like ChatGPT-User) only fetch HTML and don't execute JavaScript or load CSS files. The methods below are specifically designed to work with these lightweight HTML scrapers.

🔧 Advanced Multi-Method Tracking

Cast the widest net possible with multiple tracking methods:

<!-- In your <head> section --> <link rel="icon" href="https://cdn.senso.ai/favicon.ico?s=YOUR_SITE_ID" type="image/x-icon"> <link rel="dns-prefetch" href="//https://cdn.senso.ai"> <!-- At the end of your <body> section --> <img src="https://cdn.senso.ai/p.gif?s=YOUR_SITE_ID" width="1" height="1" style="display:none" alt="" /> <img src="https://cdn.senso.ai/t.png?s=YOUR_SITE_ID" width="1" height="1" style="display:none" alt="" /> <img src="https://cdn.senso.ai/t.jpg?s=YOUR_SITE_ID" width="1" height="1" style="display:none" alt="" /> <img src="https://cdn.senso.ai/t.webp?s=YOUR_SITE_ID" width="1" height="1" style="display:none" alt="" /> <!-- Fallback for browsers without JavaScript --> <noscript> <meta http-equiv="refresh" content="0; url=https://cdn.senso.ai/ns?s=YOUR_SITE_ID"> </noscript>

📜 Legacy JavaScript Method

Note: This method is less effective for AI bots, but useful for tracking human visitors:

<!-- Less effective for AI bots, but works for humans --> <script src="https://cdn.senso.ai/r.js?id=YOUR_SITE_ID" async></script> <link rel="stylesheet" href="https://cdn.senso.ai/s.css?s=YOUR_SITE_ID">

What This Tracks

Platform-Specific Instructions

WordPress

Add the recommended code to your theme's header.php and footer.php files, or use a plugin like "Insert Headers and Footers"

React/Next.js
// In your _app.js or layout component
import Head from 'next/head'

<Head>
  <link rel="icon" href="https://cdn.senso.ai/favicon.ico?s=YOUR_SITE_ID" type="image/x-icon" />
</Head>

// At the end of your page/component
<img src="https://cdn.senso.ai/p.gif?s=YOUR_SITE_ID" width="1" height="1" style={{display: 'none'}} alt="" />
<img src="https://cdn.senso.ai/t.png?s=YOUR_SITE_ID" width="1" height="1" style={{display: 'none'}} alt="" />
Static HTML

Simply paste the recommended code in your <head> and before your closing </body> tag.

Verify Installation

After installing, you can verify it's working by:

  1. Checking your browser's Network tab for requests to https://cdn.senso.ai
  2. Viewing your analytics at YOUR_SITE_ID/api/visits?site=https://cdn.senso.ai
  3. Test with a bot user agent to simulate AI crawler behavior
%!(EXTRA string=https://cdn.senso.ai, string=YOUR_SITE_ID)