How to Open the Richpanel Live Chat Widget
This guide will show you how to add a button or link to your website that opens the Richpanel live chat widget
Steps:
- Create a button or link: Add an HTML button or link to your webpage where you want the chat widget to be accessible.
- Set the anchor link: Use
#rp-customer-widget-home
as the anchor link for your button or link.
Example using a button:
html
Copy
<button onclick="window.location.href='#rp-customer-widget-home'">Open Chat</button>
Example using a link:
html
Copy
<a href="#rp-customer-widget-home">Open Chat</a>
How it works:
- The Richpanel JavaScript is already listening for URL changes on your website.
- When a user clicks the button or link, it adds
#rp-customer-widget-home
to the URL. - The Richpanel script detects this change and automatically opens the chat widget.
Note
Make sure you have properly installed the Richpanel script on your website for this functionality to work.
If you encounter any issues or need further assistance, please contact Richpanel support.