Navigation

Problems

Why is the booking button slow?

Written and checked by Mohit Bisht and Naveen Kumar, co-founders of customeragent. We run the campaigns ourselves.

Record the interaction itself. Distinguish a delay before the click handler runs, work inside it and the time until the browser paints feedback. A fast initial load can coexist with a slow date picker.

Worked example

A calendar builds every available slot before highlighting a selected date. The user clicks again because the screen gives no immediate feedback.

For guidance on this topic, see web.dev: Web Vitals.

Practical checklist

  • Trace the click
  • Find the long task
  • Check the next visible frame

Talk through your next step

Bring a question about your site or project. We’ll help you decide where to start.