AI Tracking Service
Track LLM crawler access and user events across your domains
Integration
JavaScript/TypeScript
fetch("https://your-domain.pages.dev/api/track", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
domain: window.location.hostname,
type: "user",
url: window.location.pathname + window.location.search,
ref: document.referrer,
ua: navigator.userAgent,
}),
});