Clice offers two methods to synchronize the checklist with the real actions your users perform in your app.
Only one is needed — choose whichever works best for you.
ℹ️ What does “synchronize the checklist” mean?
It means marking a task as completed in Clice when your user performs that action in your application.
This makes the onboarding powered by Clice feel completely native within your app.
You can easily send onboarding task completion information to Clice directly from your frontend (as long as the Clice widget is imported).
To do this, call the window.CliceOnboarding.completeStep function (available anywhere in your frontend) and pass the task title and the onboarding name as parameters.
Example:
window.CliceOnboarding.completeStep("Send a campaign")
That’s it!
⚠️ Important:
For this method to work, you must have stored the user’s onboarding name in the browser’s
localStorage.To learn more, see Integrate to my app
You can also call the Clice API from your server to report that a task has been completed.
To do this, check the guide: Complete a task (onboarding)
Never used the Clice API before? See API
ℹ️ Note:
When your user completes their onboarding (i.e., finishes all checklist tasks), Clice will instantly notify your backend.
You can configure this webhook by following the Complete a task (onboarding) guide.