# Segment contacts by location

**URL:** <https://forum.mautic.org/t/segment-contacts-by-location/9955>\
**Category:** General Discussion\
**Created:** [November 22, 2017, 2:05pm UTC](https://forum.mautic.org/t/segment-contacts-by-location/9955 "2017-11-22T14:05:03Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phil\_Veloso](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@Phil\_Veloso](https://forum.mautic.org/u/Phil_Veloso)\
**Post date:** [November 22, 2017, 2:05pm UTC](https://forum.mautic.org/t/segment-contacts-by-location/9955/1 "2017-11-22T14:05:03Z")

</div>

Hello,  
  
  
  
I can’t find a segment filter for contact location, although this is shown in the contact table view.  
  
  
  
Please, can someone assist?  
  
  
  
Thanks,  
  
Phil

---

<div class="post-metadata">

**Author:** ![Phil\_Veloso](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@Phil\_Veloso](https://forum.mautic.org/u/Phil_Veloso)\
**Post date:** [November 22, 2017, 2:05pm UTC](https://forum.mautic.org/t/segment-contacts-by-location/9955/2 "2017-11-22T14:05:03Z")

</div>

Hello,

I can’t find a segment filter for contact location, although this is shown in the contact table view.

Please, can someone assist?

Thanks,  
Phil

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [November 22, 2017, 3:05pm UTC](https://forum.mautic.org/t/segment-contacts-by-location/9955/3 "2017-11-22T15:05:18Z")

</div>

@Phil_Veloso you want Geo location ?

---

<div class="post-metadata">

**Author:** ![Phil\_Veloso](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@Phil\_Veloso](https://forum.mautic.org/u/Phil_Veloso)\
**Post date:** [November 22, 2017, 3:10pm UTC](https://forum.mautic.org/t/segment-contacts-by-location/9955/4 "2017-11-22T15:10:36Z")

</div>

I am getting their location data but there isn’t contact field to filter on to get a localized segment .

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [November 22, 2017, 3:12pm UTC](https://forum.mautic.org/t/segment-contacts-by-location/9955/5 "2017-11-22T15:12:36Z")

</div>

Can you share screen shot

---

<div class="post-metadata">

**Author:** ![Phil\_Veloso](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@Phil\_Veloso](https://forum.mautic.org/u/Phil_Veloso)\
**Post date:** [November 22, 2017, 3:20pm UTC](https://forum.mautic.org/t/segment-contacts-by-location/9955/6 "2017-11-22T15:20:58Z")

</div>

![](https://snag.gy/vzRr2w.jpg)

![](https://snag.gy/cNMeUY.jpg)

---

<div class="post-metadata">

**Author:** ![Phil\_Veloso](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@Phil\_Veloso](https://forum.mautic.org/u/Phil_Veloso)\
**Post date:** [November 22, 2017, 3:23pm UTC](https://forum.mautic.org/t/segment-contacts-by-location/9955/7 "2017-11-22T15:23:55Z")

</div>

Maybe some background information.

We are scrapping leads usings selected twitter hashtags but obviously, there’s a lot from everywhere!

I’m trying to filter a master catchment segment to only keep leads from select regions/locations.

I tried mapping the location field in the twitter plugin with a custom field called twitter location but it didn’t work.

However, the location does appear to be getting caught as per the location field in the contact table.

I am therefore trying to access this field although cannot find a method to do so.

---

<div class="post-metadata">

**Author:** ![Phil\_Veloso](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@Phil\_Veloso](https://forum.mautic.org/u/Phil_Veloso)\
**Post date:** [November 22, 2017, 4:34pm UTC](https://forum.mautic.org/t/segment-contacts-by-location/9955/8 "2017-11-22T16:34:48Z")

</div>

Okay after some exploration I found out that by exporting the contact list as a .csv the location is being stored in the country field. Its probably not showing in the contact view because it’s not a country per say, as per the drop down countries.

I have tried to map the twitter plugin to a new “twitter location” custom field but it’s not working.

Any suggestion on why this may be?

![](https://snag.gy/HglryX.jpg)

![](https://snag.gy/Wu5H83.jpg)

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [November 22, 2017, 10:14pm UTC](https://forum.mautic.org/t/segment-contacts-by-location/9955/9 "2017-11-22T22:14:43Z")

</div>

@Phil_Veloso You need to create a segment and use filters to fill those segment with the data you want.

Sample if you want to put all contact from Canada.

Create a segment called Canada Leads and in the tab called Filter select location \> equal \> Canada.

---

<div class="post-metadata">

**Author:** ![Phil\_Veloso](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@Phil\_Veloso](https://forum.mautic.org/u/Phil_Veloso)\
**Post date:** [November 30, 2017, 11:48am UTC](https://forum.mautic.org/t/segment-contacts-by-location/9955/10 "2017-11-30T11:48:14Z")

</div>

Issue identified as an error with mapping the location field pulled from Twitter to the country field in Mautic, as twitter locations do not follow the naming convention defined in the Mautic country dropdown field.

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [November 30, 2017, 11:49am UTC](https://forum.mautic.org/t/segment-contacts-by-location/9955/11 "2017-11-30T11:49:33Z")

</div>

@Phil_Veloso Thanks for sharing and cheers
