start() method allows you to programmatically trigger and display Usertour content (such as flows, checklists, or other interactive guides) for your authenticated users. When called, the specified content will be rendered immediately in your application.
This method is particularly useful for implementing custom triggers for your user onboarding or feature discovery flows. For instance, you could add a “Replay Tutorial” button in your app’s settings, allowing users to revisit your onboarding experience at any time.
Parameters
String, required - The unique identifier of the content you want to display. You can find this ID in the content detail page URL:
/env/{envId}/{contentType}/{contentId}/detailOptional configuration object to customize the content display behavior.
When set to true, the content will only be shown to users who haven’t seen it before. If the user has already viewed the content, nothing will happen. Defaults to false.
When set to true, the content will resume from where the user left off in their previous session. If false, the content will start from the beginning. Defaults to false.
When
once: true is set, the continue option will not take effect since the content will only be shown once to the user.Return
Returns aPromise that resolves when the content has been successfully initialized and displayed.
Example
Basic Usage
Show Content Only Once
Resume Previous Session
Make sure to call
init() before using any other Usertour.js methods