# Syncing company data about gmail users from Segment.com to Hubspot

**URL:** <https://community.hubspot.com/t/syncing-company-data-about-gmail-users-from-segment-com-to-hubspot/17474>\
**Category:** APIs & Integrations\
**Tags:** companies\
**Created:** [November 28, 2019, 2:02pm UTC](https://community.hubspot.com/t/syncing-company-data-about-gmail-users-from-segment-com-to-hubspot/17474 "2019-11-28T14:02:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chrintz](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chrintz/32/76793_2.png) [@Chrintz](https://community.hubspot.com/u/Chrintz)\
**Post date:** [November 28, 2019, 2:02pm UTC](https://community.hubspot.com/t/syncing-company-data-about-gmail-users-from-segment-com-to-hubspot/17474/1 "2019-11-28T14:02:15Z")

</div>

We are using [Segment.com](http://Segment.com) to sync data about user behaviour from our Software product to Hubspot.

We are sending data about specific users as an identity call (works fine) and account information as a group call (company data). The challenge is that Hubspot requires a website address along with the group call.

That is fine for all users that have a company email address as we can just extract that and parse it as the company website address but we also have 12.000 freemium users and many of those are using a [gmail.com](http://gmail.com) or similar.

That means that if we extract the email domain and use that as a company website in the group call, all those contacts is put under the same company and constantly overrides account information from the other organisations.

A solution that we have been considering is the parse their unique organisation id as the website address - that would look something like this: [http://ef9c7c50-4174-4578-ac56-b81123bced8a.com](http://ef9c7c50-4174-4578-ac56-b81123bced8a.com/).

The issue with the solution is that our sales team is quite happy with the company data automatically extracted by Hubspot from the company website and that would obviously not work with the above solution.

Do you have any suggestions as to how we can solve it in a better way?

---

<div class="post-metadata">

**Author:** ![MFrankJohnson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mfrankjohnson/32/22490_2.png) [@MFrankJohnson](https://community.hubspot.com/u/MFrankJohnson)\
**Post date:** [November 28, 2019, 2:59pm UTC](https://community.hubspot.com/t/syncing-company-data-about-gmail-users-from-segment-com-to-hubspot/17474/2 "2019-11-28T14:59:19Z")

</div>

Not sure this will be helpful, but since you have dev resources …

Couldn’t you parse the unique organisation id as the website address, BUT only for those freemium users WITHOUT free email addresses?

A little more dev work, but that would give you the best of both worlds -- i.e., freemium users with **non-free website addresses** would retain their company associations in HubSpot, thereby reaping the benefits of HubSpot Insights data, AND freemium users with **free website addresses** would still get the funky unique [abcxyz123.com](http://abcxyz123.com) company association. Just a thought.

---

<div class="post-metadata">

**Author:** ![Chrintz](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chrintz/32/76793_2.png) [@Chrintz](https://community.hubspot.com/u/Chrintz)\
**Post date:** [November 28, 2019, 3:40pm UTC](https://community.hubspot.com/t/syncing-company-data-about-gmail-users-from-segment-com-to-hubspot/17474/3 "2019-11-28T15:40:57Z")

</div>

That is definitely also an option - the challenge here is that there are quite a lot of free email services, it’s easy to cover the most popular (Gmail, yahoo, outlook, AOL, Hotmail etc.) but if we are to cover all cases there will be some maintenance work in order to keep that list updated - and the dev team is not thrilled about that.

---

<div class="post-metadata">

**Author:** ![MFrankJohnson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mfrankjohnson/32/22490_2.png) [@MFrankJohnson](https://community.hubspot.com/u/MFrankJohnson)\
**Post date:** [November 28, 2019, 5:53pm UTC](https://community.hubspot.com/t/syncing-company-data-about-gmail-users-from-segment-com-to-hubspot/17474/4 "2019-11-28T17:53:12Z")

</div>

\>\>"

_…if we are to cover all cases there will be some maintenance work in order to keep that list updated - and the dev team is not thrilled about that._

"

Fortunately (_or unfortunately depending on your perspective_), the list of free email service providers (ESPs) is skewed heavily in favor of the top providers who represent the lion’s share of the free email market (99%?). The high percentage of users who prefer popular free email services combined with the large market share of popular email clients makes us wanna agree with the dev team on this -- upkeep is probably not worth dev resources.

In fact, [Claire Hughes Johnson, COO of Stripe](https://www.linkedin.com/in/claire-hughes-johnson-7058/) (Yale alumni and former 10yr Google Executive) delivered a thought provoking presentation at INBOUND 2018 about the ‘developer force multipler effect’ and how [current developers] x [greater productivity] = [increased GDP].  
- see [[VIDEO] Claire Hughes Johnson | INBOUND 2018 Spotlight](https://www.youtube.com/watch?v=Aght-n3ztOs)

- see [Becoming a Developer Team Force Multiplier](https://ardalis.com/becoming-a-developer-team-force-multiplier) by Steve Smith, Founder, Ardalis Services

-see Primary US Email Providers by Statista

 ![statista-preferred-us-email-providers-by-age-2017.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/0/10c75f48cfc4d94624428cb3f8b96bf12d50a32c.png)  
Primary US Email Providers by Statista

- see [Infographic] Email Client Market Share 2019 by Litmus

 ![litmus-email-client-market-share-2019.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/1/c1892010eade7b8901948d85dda21abc7e88431b.png)  
[Infographic Exerpt] Email Client Market Share 2019 by Litmus

[Full Litmus Infographic](https://litmus.com/blog/infographic-the-2019-email-client-market-share)

For the extremely detailed among us, there’s always the [free\_email\_provider.domains.txt](https://gist.github.com/tbrianjones/5992856/) list of over 3700 free ESPs on GitHub by tbrianjones. That GitHub repository is updated regularly and also includes a link to at least [one other repository that supports REST API updates](https://gist.github.com/tbrianjones/5992856/#gistcomment-3067250)!

---

<div class="post-metadata">

**Author:** ![Chrintz](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chrintz/32/76793_2.png) [@Chrintz](https://community.hubspot.com/u/Chrintz)\
**Post date:** [December 2, 2019, 8:37am UTC](https://community.hubspot.com/t/syncing-company-data-about-gmail-users-from-segment-com-to-hubspot/17474/5 "2019-12-02T08:37:26Z")

</div>

That list looks great.

We will probably go that way.

Thanks!
