I just want it to work like it is working in the website of the originial poster of this thread. Click the hyperlink and the chat opens up without refreshing the page.
Go to the footer of this website and click the live chat hyperlink text
Aug 20, 20199:32 AM - edited Aug 20, 20199:34 AM
Not applicable
launching chat from a link
SOLVE
@MFrankJohnson Please stick to DRY principles. Not sure why you'd want to add JS when a simple anchor link works and is the suggested solution as per the Hubspot documentation - link above
Aug 20, 201910:06 AM - edited Aug 20, 20191:25 PM
Thought Leader
launching chat from a link
SOLVE
>>"MFrankJohnson Please stick to DRY principles. Not sure why you'd want to add JS when a simple anchor link works and is the suggested solution as per the Hubspot documentation..."
WOW, Lopser. Appreciate the flogging.
However, one of the reasons the HubSpot Community exists is because HubSpot documented/suggested solutions don't always solve for all use cases.
-ps The HubSpot Community is a place where EVERYONE is welcome to post their solutions without being patronized or condescended to. BTW - DRY development speaks to reduction in reduncancy and code repetition specifically -- not the use of alternative solutions or .js.
#nlmtu
Note: Please search for recent posts as HubSpot evolves to be the #1 CRM platform of choice world-wide.
Aug 20, 201910:12 AM - edited Aug 20, 20192:38 PM
Not applicable
launching chat from a link
SOLVE
@MFrankJohnson I'm not saying your solution isn't correct, I'm saying that you are recreating the wheel when it's not neccessary - there's a simpler way to implement.
A couple of extra characters or requests here and some more there all adds up and will impact your website performance.
Re: my previous reply, you are right, everyone is welcome to post. I apologise, sometimes my OCD gets the better of me.
Aug 20, 20199:10 AM - edited Aug 20, 20199:39 AM
Not applicable
launching chat from a link
SOLVE
@soumlabs If you want the button/link to open the chat bubble without a page refresh/reload, then don't use the full page link, and just link to the anchor instead.
here you go:
<a href="#hs-chat-open">Open chat</a>
Did my post help your query? Help the community by Marking it as a solution if it solved your query. In addition, Upvotes are welcome too.