SkaveloHelp Center

Widget events

Listen for what happens in the widget and send it to your own analytics.

The widget emits events as users interact with it. Use them to measure adoption in your own analytics, or to connect Skavelo to other tools.

const skavelo = Skavelo.init({ agentId: 'YOUR_AGENT_ID' });

skavelo.on('walkthrough_complete', (event) => {
  analytics.track('guide_completed', { workflowId: event.workflowId });
});

In React, use useSkaveloEvent.

Events

EventFires whenFields
openThe widget opens
closeThe widget closes
answerSkavelo answers a questionmessageId
stepA walkthrough step is shownstepIndex, stepInstruction, elementFound
step_completeThe user completes a stepstepIndex
walkthrough_startA walkthrough beginsworkflowId, source (asked, code for startWorkflow, or offer)
walkthrough_completeThe user finishes a walkthroughworkflowId
walkthrough_abandonA walkthrough ends before the last stepworkflowId, atStep
walkthrough_replayThe user chooses Show me again after finishing a walkthrough, which starts it again from the first stepworkflowId
offerA walkthrough offer is shown, accepted or dismissed with Not nowofferId, workflowId, action (shown, accepted or dismissed)
do_approvedThe user approves a skillskillId
lookupSkavelo read the user's data with a lookup before answeringskillId, ok (false when your app refused or didn't reply)
stuckSkavelo offered help because the user seemed stuck, and again when they accept or close itkind (disabled, error or repeat), question, accepted (set once they choose)
do_rejectedThe user cancels a skillskillId
handoffThe user asks to reach your teamSee below

The handoff event

FieldDescription
conversationIdThe conversation's ID, matching the one in your dashboard
reason'asked', 'unhelpful' or 'no_answer'
channel'chat:intercom' (or another chat tool), 'email' or 'code'
summaryA short message for your team: what the user asked, and on which page
questionThe user's last question
diagnosisWhen the user reported a problem: what Skavelo checked and the likely cause. Also included in summary.
pageUrlThe page the user was on

See Hand conversations to your team.

On this page