Client-side tracing