Skip to main content
By default the widget appears as soon as your script loads. Use data-visibility to defer it, and the update command to show or hide it later — for example, only after the user signs in.

Defer the Widget

Add data-visibility="false" to your embed script:
The widget does not appear and does not connect: no launcher button, no conversation, no chat session. The script still loads, so the widget is ready to appear the moment you reveal it.
The script loads asynchronously, so window.argide() may not exist yet when your page code runs. To queue commands safely, add this line before the script tag:
You can then call window.argide.push(['update', { visibility: true }]) at any time, and the command runs as soon as the widget is ready.Only the exact value "false" hides the widget. Any other value — and leaving the attribute off entirely — shows it. So a missing attribute always means visible, and the default embed code keeps working unchanged.

Show and Hide

The update command takes a visibility property:
This is the only way to change visibility — there are no separate show or hide commands.
visibility is a display setting. It stays in the browser and is never sent to Argide, so it never appears on a conversation.

Show the Widget Only to Signed-In Users

Defer the widget on the script tag, then reveal it after login. Do it in one update call and pass the user’s attributes at the same time, so the agent knows who it is talking to from the first message:
See User Identification for the attributes you can pass.

Reference

You can also set visibility in window.ArgideSettings before the script loads.

Next Steps

User Identification

Tell the agent who the user is

Embed Widget

All script tag attributes and commands