Is there a proper way to hide the launcher (square button at the bottom right corner) on the particular routes of our single-page application | Community
Skip to main content

Is there a proper way to hide the launcher (square button at the bottom right corner) on the particular routes of our single-page application

  • December 5, 2022
  • 0 replies
  • 0 views

Renee14

Is there a proper way to hide the launcher (square button at the bottom right corner) on the particular routes of our single-page application (we are using Web Widget SDK)?


Now, as a quick solution, we forbid the storing of the cookies for the Zendesk widget (using window.zE('messenger:set', 'cookies', false) command) upon landing on the needed route, and then we allow the storing of the cookies upon leaving that route.

Such actions lead to the hiding of the launcher, but I believe there is a better way to do that.

Any suggestions?