Marketing Integrations


Hubspot integration with Segment

Hi there,

We are setting up a Hubspot-Segment integration, does anyone know a way to avoid creating a new mapping for each event, but rather use the event name as a token? 
Looks like we would need a script/formula to use in Segment, does anyone have an example of how this was implemented? 


Any useful tip on the subject are welcome as well.


1 Reply 1
Community Manager
Community Manager

Hubspot integration with Segment

Hi @SashaLibina,

Thank you for reaching out to the Community!

I understand that you are using this integration "Segment" and you are looking for a way to optimize the mapping for events (using the event name as a token), is that right?

First, I'd like to share these resources that might help you:

HubSpot Destination
Destination Functions

I found this post "Segment Integration to HubSpot - Working Example" but I am not sure that it is exactly what you are after?

I'd like to tag some of our Community Members: @thefunpolice@HPetrosyan2 and @Seth_Israel, do you have any tips to help @SashaLibina on this, please?

I also wanted to invite a couple of subject matter experts to this conversation @johnelmer, @HFisher7 and @DanMYD, do you have any suggestions for this particular use case, please?

If anybody else has anything to add and/or share, please feel free to join in the conversation 🙂

Thanks and have a great day!


Saviez-vous que la Communauté est disponible en Français ?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres !

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings!