<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Launching chat from a link in Tips, Tricks &amp; Best Practices</title>
    <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Launching-chat-from-a-link/m-p/707024#M845</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/463501"&gt;@FMola&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I believe the&amp;nbsp;EXPERIMENTAL_API is deprecated so you can just use&amp;nbsp;window.HubSpotConversations.widget.open() in your onclick instead. Here's an example:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;a href="#" id="click-to-chat__cta--text" class="cta cta--blue" style="margin-top: 20px;" onclick="window.HubSpotConversations.widget.open();"&amp;gt;Chat with Sales&amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and here are a few other threads that discuss this and other approaches:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.hubspot.com/t5/Tickets-Conversations/Click-to-launch-chat/m-p/406564" target="_blank" rel="noopener"&gt;https://community.hubspot.com/t5/Tickets-Conversations/Click-to-launch-chat/m-p/406564&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/Tickets-Conversations/Click-to-launch-chat/m-p/405402" target="_blank" rel="noopener"&gt;https://community.hubspot.com/t5/Tickets-Conversations/Click-to-launch-chat/m-p/405402&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope that helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2022 10:19:30 GMT</pubDate>
    <dc:creator>MatthewShepherd</dc:creator>
    <dc:date>2022-10-18T10:19:30Z</dc:date>
    <item>
      <title>Launching chat from a link</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Launching-chat-from-a-link/m-p/706956#M842</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hubspot chat error.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/77335i97B956B15239E814/image-size/large?v=v2&amp;amp;px=999" role="button" title="hubspot chat error.png" alt="hubspot chat error.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Hi, I'm getting this error by using&lt;/P&gt;
&lt;PRE&gt;onclick="window.hubspot.messages.EXPERIMENTAL_API.requestWidgetOpen();&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 07:31:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Launching-chat-from-a-link/m-p/706956#M842</guid>
      <dc:creator>FMola</dc:creator>
      <dc:date>2022-10-18T07:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Launching chat from a link</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Launching-chat-from-a-link/m-p/706973#M843</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/463501"&gt;@FMola&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to the Community!&lt;/P&gt;
&lt;P&gt;It would be great if you can share which troubleshooting steps you have taken so far so the Community has more information to work with.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Kristen&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 07:34:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Launching-chat-from-a-link/m-p/706973#M843</guid>
      <dc:creator>kvlschaefer</dc:creator>
      <dc:date>2022-10-18T07:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Launching chat from a link</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Launching-chat-from-a-link/m-p/706976#M844</link>
      <description>&lt;P&gt;Thanks for the prompt response &lt;SPAN&gt;kvonloesecke,&lt;BR /&gt;The code below worked for me,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;document.getElementById("hschat1").innerHTML = '&amp;lt;a href="#" onclick="window.history.pushState; window.HubSpotConversations.clear({resetWidget:true});"&amp;gt;Open Chat&amp;lt;/a&amp;gt;'&lt;BR /&gt;&lt;BR /&gt;But it's changing the element text, is there any possibility to trigger it without changing the inner html element? It's actually on WordPress. I can assign an id or class to the button &amp;amp; use onclick event to do the job.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 08:00:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Launching-chat-from-a-link/m-p/706976#M844</guid>
      <dc:creator>FMola</dc:creator>
      <dc:date>2022-10-18T08:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Launching chat from a link</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Launching-chat-from-a-link/m-p/707024#M845</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/463501"&gt;@FMola&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I believe the&amp;nbsp;EXPERIMENTAL_API is deprecated so you can just use&amp;nbsp;window.HubSpotConversations.widget.open() in your onclick instead. Here's an example:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;a href="#" id="click-to-chat__cta--text" class="cta cta--blue" style="margin-top: 20px;" onclick="window.HubSpotConversations.widget.open();"&amp;gt;Chat with Sales&amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and here are a few other threads that discuss this and other approaches:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.hubspot.com/t5/Tickets-Conversations/Click-to-launch-chat/m-p/406564" target="_blank" rel="noopener"&gt;https://community.hubspot.com/t5/Tickets-Conversations/Click-to-launch-chat/m-p/406564&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/Tickets-Conversations/Click-to-launch-chat/m-p/405402" target="_blank" rel="noopener"&gt;https://community.hubspot.com/t5/Tickets-Conversations/Click-to-launch-chat/m-p/405402&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope that helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 10:19:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Launching-chat-from-a-link/m-p/707024#M845</guid>
      <dc:creator>MatthewShepherd</dc:creator>
      <dc:date>2022-10-18T10:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Launching chat from a link</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Launching-chat-from-a-link/m-p/707032#M846</link>
      <description>&lt;P&gt;Hello MatthewShepherd,&lt;BR /&gt;This worked for me&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;window.HubSpotConversations.widget.open()&lt;BR /&gt;&lt;/SPAN&gt;Exactly what I was looking for,&lt;BR /&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 10:56:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Launching-chat-from-a-link/m-p/707032#M846</guid>
      <dc:creator>FMola</dc:creator>
      <dc:date>2022-10-18T10:56:12Z</dc:date>
    </item>
  </channel>
</rss>

