Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.33 Home All releases olderv2.0.32 v2.0.34newer
Claude Code v2.0.33

Segment Analytics Telemetry

What: Dual telemetry system that sends all events to both Statsig and Segment analytics platforms How to use:

# Telemetry is enabled by default and respects existing opt-out mechanisms
export DISABLE_TELEMETRY=1  # Disables both Statsig and Segment
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1  # Also disables both

Details:

  • All existing telemetry events (tool usage, file operations, security checks, etc.) now tracked to Segment in addition to Statsig
  • Uses anonymous IDs by default (claudecode.v1.{uuid}), adds user IDs when authenticated with Claude.ai
  • Feature-gated behind tengu_log_segment_events Statsig flag for controlled rollout
  • Events batched (15 per flush) and auto-flushed every 10 seconds
  • Graceful shutdown ensures no data loss on exit
  • Evidence: Analytics SDK integration at pF0 (line 19111), tracking function Os2() at line 475587, dual-tracking wrapper j1() at line 475648, initialization Ms2 at line 475622

See this entry in the whole of v2.0.33 →