launching chat from a linkSOLVE
Feb 13, 2019 12:03 PM
We would like to be able to launch the chat conversation from the click of a link. We have a couple of uses cases on our e-commerce site:
1) is the "Talk to an Expert" link on our product description pages like here:
(located under quantity option and above add to cart button)
2) the "click here" text link after "Chat:"
3) In our footer - the live chat option
Does anyone know the equivalent on click link for the HubSpot chat? Or an alternative solution?
Solved! Go to Solution.
Feb 13, 2019 4:58 PM
Try this ...
<a id="click-to-chat__cta--text" class="cta cta--blue" style="margin-top: 20px;" onclick="window.hubspot.messages.EXPERIMENTAL_API.requestWidgetOpen();">Chat with Sales</a>