Jul 24, 2020 3:25 AM - edited Jul 24, 2020 3:32 AM
Hi,
We have integrated Hubspot chat in our website, however we face 2 issues.
- First, we have activated cookies consent section at the beginning of conversation. Visitors need to accept cookies to access chat. However, when you click on the button, consent loads but nothing happen. We need to update page so the consent is collected and visitor can access chat (Video to illustrate our issue : https://www.loom.com/share/c8cd9c49bc3240c5ac93f63e5852d421)
- Second issue, when visitor clicks to access FAQ from Chat window, and then comes back in our website, chat window gets white and it is not possible to access chat again (Video : https://www.loom.com/share/8559dd047456444d8bd0a60443e816a9)
Note that our chat is embedded in an iframe, Hubspot Support thinks that can explain theses issues but we followed the exact explanations of this article to integrate our chat : https://legacydocs.hubspot.com/docs/methods/conversations_api/hubspot-conversations-javascript-api
Any idea of how to resolve these ?
Thank you!
Jul 29, 2020 2:51 PM
Hi, @maragopera.
Apologies for the delayed response.
I am able to reproduce both behaviors when I embed a chatflow on my own site using the inlineEmbedSelector
field. I will investigate the causes with my team. Thank you for your patience.
In the meantime, I see that the HTML ID hubspot-conversations-inline-parent
appears twice on this page.
I recommend defining a different ID on the page and as the value of the inlineEmbedSelector
field. The HubSpot chat widget already uses that ID, per the "Inline embed styling" section of this documentation.
Isaac TakushiAssociate Certification Manager |
Jul 31, 2020 9:28 AM - edited Jul 31, 2020 9:31 AM
Hi @IsaacTakushi,
Thanks for your answer ! I will share this with our developper. Please let me know if your team gives you more insights on this !
Marion
Aug 19, 2020 4:09 AM
Hi @IsaacTakushi
Any news from your team ? 🙂
Thank you !
Aug 20, 2020 2:56 PM
Hi, @maragopera.
Sincere apologies for the radio silence.
Not yet, but they are actively investigating now! I'll post here as soon as I have some insight. Thank you for your continued patience.
Isaac TakushiAssociate Certification Manager |
Aug 25, 2020 7:23 AM
Hi, @maragopera.
The cookie consent issue should now be resolved. Please let me know if you continue to encounter the perpetual loading behavior. Apologies for the inconvenience.
I'll post again when we have a better solution for the auto-closing behavior when visitors click links (e.g. to knowledge base articles). Thanks for your continued patience!
Isaac TakushiAssociate Certification Manager |
Aug 25, 2020 9:31 AM
Hi @IsaacTakushi ,
Great thank you. Indeed it works well now for the cookie consent !
Ok I'll wait for your solution regarding the second issue ("when visitor clicks to access FAQ from Chat window, and then comes back in our website, chat window gets white and it is not possible to access chat again").
Thanks.
Marion
Aug 25, 2020 3:00 PM
Hi again, @maragopera.
Excellent. I'm glad to hear that the cookie consent button is working!
You should now also be able to trigger window.HubSpotConversations.widget.open();
to re-open the widget after it closes when a visitor clicks a knowledge base search result.
The team decided not to force the chat pane open because it would also open the chat widget on the knowledge base article which would obscure most of the page on mobile devices.
Will this functionality fulfill your needs?
Isaac TakushiAssociate Certification Manager |