Track Tour Analytics

Use this to see whether people finish your tour, and where they give up when they don’t. Run the tour below, then finish it or leave it early, and watch the events come in.

  1. Events show up here.

onDestroyed gets a reason:

  • "done": the user moved past the last step
  • "close", "escape" or "overlay": the user left early
  • "replaced": another tour or highlight started
  • "api": your code called destroy()

A destroy() you call from a hook keeps the reason of the user action that started it, so a Confirm on Exit hook still reports "close", not "api".

Count tour_ended events with reason: "done" to get your completion rate, and the step of the others to see where people leave.

Uses: onDestroyed, reason, onHighlighted