image for site

Link 'Contact Us' Button to Zendesk Messenger

Learn how to link a 'Contact Us' button to open the Zendesk Messenger widget directly, enhancing user interaction on your site.

How can I link a 'Contact Us' button to open the Zendesk Messenger widget?

To link a 'Contact Us' button to open the Zendesk Messenger widget, you can use a simple JavaScript workaround.

Add the following code to your button or link:

<a href="javascript:void(0);" onclick="zE('messenger', 'open');">

This code will cause the Messenger widget on your page to open when the button or link is clicked. This is a straightforward way to enhance user interaction by providing direct access to your Messenger widget.


More related questions

How can I make the Zendesk widget open directly to a live chat session?

To make the Zendesk widget open directly to a live chat session, you can use a chat trigger or add a specific code snippet to your website. If you want the widget to open automatically when a customer loads your webpage, you have two options….

What should I do if the zE.activate function doesn't work?

If the zE.activate function doesn't work, it might be due to the widget code not being loaded correctly on your site. First, ensure that the widget code is properly loaded. If the issue persists, try wrapping the code in a setTimeout function to…

Why might the Zendesk widget not open automatically despite being loaded?

If the Zendesk widget doesn't open automatically despite being loaded, it could be due to timing issues with the script execution. Ensure that the widget script is correctly implemented on your site. If the widget is loaded but not opening…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites