Send bot visit data to Siteline from any backend using a simple GET request. Use this integration when you need full control over tracking or your stack isn’t covered by one of the platform-specific integrations.Documentation Index
Fetch the complete documentation index at: https://docs.siteline.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A Siteline website key
- A backend capable of making outbound HTTP requests
Endpoint
Parameters
The full URL of the page being accessed (e.g.
https://yoursite.com/blog/post).The
User-Agent header from the incoming request.The
Referer header from the incoming request. Pass an empty string if none.The visitor’s IP address.
Your Siteline website key.
Example
Best practices
- Track key pages only — blogs, landing pages, product pages,
robots.txt,sitemap.xml - Skip static assets — images, CSS, JS, fonts don’t need to be tracked
- Fire-and-forget — don’t await the response; send tracking calls asynchronously for zero impact on site speed
- URL-encode all parameters — especially
urlanduserAgentwhich may contain special characters
Troubleshooting
Requests not appearing in Agent Analytics
Requests not appearing in Agent Analytics
Verify that all required parameters are present and URL-encoded. Check that your
websiteKey is correct.Where do I find my website key?
Where do I find my website key?
Navigate to Agent Analytics in your Siteline workspace and click Manage Configuration to view or regenerate your key.
Should I track every request?
Should I track every request?
No. Focus on content pages that AI bots are likely to crawl. Exclude static assets and internal API routes.