Hi,
Noticed that at present, if a user of the chatbot clicks on any link it opens the page and leaves the chat? Can we set this up so any URLs presented in the chat windows open a new browser tab?
Allows the visitor to very easily continue the conversation then!
Thanks
Heya @PJohns. One quick thought when I see a post like this is to first ask if you’ve dropped this into the Product Ideas forum? It looks like there are 2 threads with similar sounding functionality requested. I’d definitely bring this to HubSpot’s attention there in each one with details.
- Get a link to open the chatbot in a new window / tab
- Add “open all links in new tab” function (in blogs, but similar)
As for the behavior, you’[re right in that right now, we can’t configure HubSpot’s native chatflows so that all links automatically open in a new tab; links in the widget will, by default, open in the same tab and “take” the visitor away from the chat. If your site is on HubSpot CMS (or you control the code) and you have a developer, I think you can add JavaScript to the page to globally set link targets to _blank, but this affects page content links, not the embedded chat widget’s internal link rendering.
The only other way I’d see to stop this is to add friction to the UI, which I don’t love. For instance, you could Use short text CTAs that say “Right‑click this link to open in a new tab” so the intent is clear to users. Or along the same lines, you could structure links so they’re text-based (not linked) full URLs, and instruct visitors to right‑click or long‑press and “Open in new tab,” the browser behavior is then under their control. This is low‑tech but works across all sites.
Thanks Dan, feature requested. The other suggestions are not chat related.
Appreciated.