OptionalreasonWhy the tour completed. Only set on complete events.
OptionalstepZero-based index of the current step. Not set on start.
OptionalstepTitle of the current step, if it has one
When the event happened, in milliseconds since the epoch
Total number of steps in the tour
OptionaltourValue of the tourId option, if set
start: the tour startedstep: a step was shown to the userskip: the user skipped the tourcomplete: the tour completed (see reason)exit: the tour closed, for any reason (always the last event)
A tour lifecycle event, delivered to listeners added with
tour.onEvent(). Designed to be forwarded to analytics tools (Google Analytics, Mixpanel, Segment, ...) to measure where users drop off.