Hubspot Chat & Segment bubble plugin

Hello lovely bubblers!

I’ve added the hubspot chat icon easily to bubble, however we want the hubspot chat to recognise the user is logged in and so show their name etc + allow workflows to function for the chatbot to function.

The current hubspot plugins didn’t have this functionality but I’ve found the segment plugin does have identify the user functionality and so i’ve added Hubspot as a destination on segment in the hope that

  1. Segment loads the hubspot sdk (as normal)
  2. The user is identified
  3. When the logged in user chats to the hubspot bot they are identified and so do not need to add name and email address

This ‘identify’ functionality will also hubspot to track page views to contacts.

This is the functionality i’m hoping to reach Conversations | Chat Widget SDK?

Anyone tried/got experience of this? i’m waiting for hubspot to show events at the moment

Have you tried using URL parameters in Bubble with ?email=name@domain.com? Hubspot might be able to pick this up. Just make sure you have the Hubspot tracking code installed in your Bubble app. Install the HubSpot tracking code

Thanks Christo1 but i think it’s bit more tricky than that.

According to their docs

I need to

  1. not load script
  2. get a token and map the token with the user email
  3. load script

As I’ve the main script in bubble settings, it seems to load regardless of my custom javascript that’s triggered on page load

Hi Matt,

I know this was a long time ago, BUT, where you able to figure this out?

Thank you in advance