Checklist By Alvis
  • Checklist introduction
  • HubSpot Installation
  • Widget
    • Widget installation
    • Show or hide checklist on URL changes
    • Show checklist manually
    • Embed checklist on a page
    • Hide checklist launcher
    • API Callback Methods
  • Why my checklist isn't acting correctly?
  • Checklist item actions
    • URL action
  • Complete checklist items
  • Add images in item detail
  • Customize checklist location
  • Customize embedded checklist UI
    • Default Checklist Scss File
  • Content Security Policy
  • How to set up multiple checklists in sequential order
  • What happens when trial ends?
  • How to uninstall
Powered by GitBook
On this page

Was this helpful?

  1. Widget

Show checklist manually

To manually show the checklist, add the following code. Keep in mind that if no user is identified, the checklist will not be shown.

window.Alvis("show_checklist");

If you'd like to show a button that triggers the checklist popup, you can add the onclick attribute to the button.

<button onclick='window.Alvis("show_checklist");'>
  Onboard Me
</button>

You can also manually show a different checklist, but you have to make sure the targeting conditions are met if there is any.

window.Alvis("show_checklist", "{{CHECKLIST_ID}}");

Here is how to hide the current checklist.

window.Alvis("hide_checklist");

To dismiss the current checklist, this will also hide the launcher all together.

window.Alvis("dismiss_checklist");
PreviousShow or hide checklist on URL changesNextEmbed checklist on a page

Last updated 2 years ago

Was this helpful?