Skip to content

UA Tracking for Bots #1548

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

UA Tracking for Bots #1548

wants to merge 2 commits into from

Conversation

yuvraajsj18
Copy link
Member

  • Enhanced the BOT_USER_AGENT_PATTERNS array to include specific AI data scrapers, user-triggered AI assistants, and undocumented AI agents.
  • Improved categorization of bot detection patterns for better clarity and functionality in identifying various AI-related user agents.

- Added server-side bot detection and logging capabilities in middleware.
- Implemented client-side bot detection in the useLogEvent hook for improved analytics.
- Introduced utility functions for user agent analysis and logging events.
- Updated middleware to handle anonymous IDs and log bot requests with detailed attributes.
- Enhanced logging functions to support server-side event tracking.
- Enhanced the BOT_USER_AGENT_PATTERNS array to include specific AI data scrapers, user-triggered AI assistants, and undocumented AI agents.
- Improved categorization of bot detection patterns for better clarity and functionality in identifying various AI-related user agents.
@yuvraajsj18 yuvraajsj18 requested a review from a team as a code owner June 10, 2025 11:32
Copy link

vercel bot commented Jun 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
signoz-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2025 3:26pm
signoz-web (staging) ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2025 3:26pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant