AI Analytics
Track visitors and conversions from AI sources. Measure the real impact of AI visibility on your business.
Why Track AI Traffic?#
Traditional analytics tools don't properly attribute traffic from AI sources. When someone clicks a link in ChatGPT or Perplexity, it often shows as "direct" or "referral" traffic. Our AI Analytics properly identifies and tracks:
AI Source Attribution
Know exactly which AI assistant sent each visitor.
Conversion Tracking
See which AI sources drive the highest value visitors.
Visitor Behavior
Understand how AI visitors engage vs other traffic sources.
ROI Measurement
Calculate the business impact of AI visibility efforts.
Installation#
Add our lightweight tracking script to your website. It works with any website platform — HTML, React, Next.js, WordPress, Webflow, and more.
HTML Installation#
<!-- Add before </head> -->
<script
src="https://audit.new/ai-analytics.js"
data-site-key="YOUR_SITE_KEY"
defer
></script>Next.js / React#
// app/layout.tsx or pages/_app.tsx
import Script from 'next/script'
export default function RootLayout({ children }) {
return (
<html>
<head>
<Script
src="https://audit.new/ai-analytics.js"
data-site-key="YOUR_SITE_KEY"
strategy="afterInteractive"
/>
</head>
<body>{children}</body>
</html>
)
}Google Tag Manager#
Add a Custom HTML tag with the following code:
<script
src="https://audit.new/ai-analytics.js"
data-site-key="YOUR_SITE_KEY"
defer
></script>Tracking Conversions#
Track when AI visitors complete important actions on your site.
Automatic Page View Tracking#
Page views are tracked automatically. No additional code needed.
Custom Conversion Events#
// Track when user signs up
window.auditAnalytics?.track('signup', {
plan: 'pro',
value: 199
});
// Track when user makes a purchase
window.auditAnalytics?.track('purchase', {
product: 'Enterprise Plan',
value: 499
});
// Track any custom event
window.auditAnalytics?.track('demo_requested');- Event name — A short identifier like "signup" or "purchase"
- Properties — Optional metadata about the conversion
- Value — Optional monetary value for ROI tracking
AI Sources Detected#
We automatically detect visitors from these AI sources:
- ChatGPT — chat.openai.com referrals and shared links
- Perplexity — perplexity.ai citations and links
- Claude — claude.ai referrals
- Gemini — gemini.google.com and Bard links
- Copilot — Microsoft Copilot referrals
- AI UTM Tags — utm_source containing AI-related terms
Privacy & Performance#
- Script is under 2KB — minimal impact on page load
- No cookies required for basic tracking
- GDPR and CCPA compliant
- Data stored securely and never sold