# Music Marketing: Location Targeted Emails

**URL:** <https://forum.mautic.org/t/music-marketing-location-targeted-emails/8691>\
**Category:** Product Support\
**Created:** [June 8, 2017, 7:30pm UTC](https://forum.mautic.org/t/music-marketing-location-targeted-emails/8691 "2017-06-08T19:30:06Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnBurcham](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@JohnBurcham](https://forum.mautic.org/u/JohnBurcham)\
**Post date:** [June 8, 2017, 7:30pm UTC](https://forum.mautic.org/t/music-marketing-location-targeted-emails/8691/1 "2017-06-08T19:30:06Z")

</div>

Hello all,  
  
  
  
I’m new to Mautic but have been in music/email marketing for a number of years. Trying to assess the best method of getting up to speed.  
  
  
  
Here’s the main priorities for wanting to use Mautic, in order:

- sending bulk emails for things such as new album release  
- sending location-targeted emails  
- delivering downloadable assets after successful form completion  
- in the future: tracking customers through WooCommerce integrated site  
  
  
  
I have gotten through the initial setup and have moved Amazon SES out of sandbox (which I’ll be using to send emails). However, I can’t seem to find guides or documentation to help me through these specific issues below:  
  
  
  
**For sending location targeted emails, best case I need to be able to say “send email to 50 mile radius of this zip code”. Both my past and many of my future opt-ins will only come in with zip code information, not IP-based location.**  
  
   

1. Is there a way to choose something similar to “send email to 50 mile radius of this zip code”, or will I have to create segments for each individual city based on zip code “greater than” and “less than” values?  
2. What is the best way to import contact lists which contain zip codes in preparation for the above?  
3. Is it possible to convert zip code information into Mautic’s “Location” field, or would I even need to?  
  
  
  
Thanks in advance for your help! Cheers.

---

<div class="post-metadata">

**Author:** ![JohnBurcham](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@JohnBurcham](https://forum.mautic.org/u/JohnBurcham)\
**Post date:** [June 8, 2017, 7:30pm UTC](https://forum.mautic.org/t/music-marketing-location-targeted-emails/8691/2 "2017-06-08T19:30:06Z")

</div>

Hello all,

I’m new to Mautic but have been in music/email marketing for a number of years. Trying to assess the best method of getting up to speed.

Here’s the main priorities for wanting to use Mautic, in order:

- sending bulk emails for things such as new album release
- sending location-targeted emails
- delivering downloadable assets after successful form completion
- in the future: tracking customers through WooCommerce integrated site

I have gotten through the initial setup and have moved Amazon SES out of sandbox (which I’ll be using to send emails). However, I can’t seem to find guides or documentation to help me through these specific issues below:

[b]For sending location targeted emails, best case I need to be able to say “send email to 50 mile radius of this zip code”. Both my past and many of my future opt-ins will only come in with zip code information, not IP-based location.

1. Is there a way to choose something similar to “send email to 50 mile radius of this zip code”, or will I have to create segments for each individual city based on zip code “greater than” and “less than” values?
2. What is the best way to import contact lists which contain zip codes in preparation for the above?
3. Is it possible to convert zip code information into Mautic’s “Location” field, or would I even need to?  
[/b]  
Thanks in advance for your help! Cheers.

---

<div class="post-metadata">

**Author:** ![JohnBurcham](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@JohnBurcham](https://forum.mautic.org/u/JohnBurcham)\
**Post date:** [June 11, 2017, 9:00pm UTC](https://forum.mautic.org/t/music-marketing-location-targeted-emails/8691/3 "2017-06-11T21:00:36Z")

</div>

Anyone have thoughts on the below?

1. Is there a way to choose something similar to “send email to 50 mile radius of this zip code”, or will I have to create segments for each individual city based on zip code “greater than” and “less than” values?
2. What is the best way to import contact lists which contain zip codes in preparation for the above?
3. Is it possible to convert zip code information into Mautic’s “Location” field, or would I even need to?

---

<div class="post-metadata">

**Author:** ![JohnBurcham](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@JohnBurcham](https://forum.mautic.org/u/JohnBurcham)\
**Post date:** [June 16, 2017, 5:22am UTC](https://forum.mautic.org/t/music-marketing-location-targeted-emails/8691/4 "2017-06-16T05:22:30Z")

</div>

Anyone have thoughts on easy location-targeted sending? I can’t find anything relevant in the forums or elsewhere.

---

<div class="post-metadata">

**Author:** ![timl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/timl/32/1666_2.png) [@timl](https://forum.mautic.org/u/timl)\
**Post date:** [February 13, 2020, 6:12pm UTC](https://forum.mautic.org/t/music-marketing-location-targeted-emails/8691/5 "2020-02-13T18:12:26Z")

</div>

I’ve been looking for the same thing! I’m trying to reach out to all of our users in an area about a local event, and I’m just not sure what the best approach is. Like you, I want to base it on a radius around a zip code. Did you ever find a solution?

---

<div class="post-metadata">

**Author:** ![Psymbionic](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/psymbionic/32/1047_2.png) [@Psymbionic](https://forum.mautic.org/u/Psymbionic)\
**Post date:** [February 13, 2020, 11:48pm UTC](https://forum.mautic.org/t/music-marketing-location-targeted-emails/8691/6 "2020-02-13T23:48:48Z")

</div>

(I’m the above user, new account)

I did finally figure out a method. It’s unfortunately a little convoluted. I’ve changed my targeting to just break it down by state instead. You have to use regexp, which is a pretty convoluted command language but also seems powerful. A bit above my pay grade.

To target an entire state by zip code:

1. lookup the zip code range for a state, for example: [https://www.zipcodestogo.com/North%20Carolina/](https://www.zipcodestogo.com/North%20Carolina/)
2. copy and paste the range of zip codes into a regexp numeric range generator, which will spit out a regexp string
3. in a Mautic segment select filter \> zip code, then choose “regexp” from the dropdown. Paste the value you got from step 2 into that open value box
4. wait for Mautic to cron update your segments, or force it manually

Should look something like this:

 ![Screen Shot 2020-02-13 at 4.46.14 PM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/84b2d16dd51bc0674370ac77a0be1092eacd7e52.png)

If you want to do a radius around an area, use this tool then use the output in the above method:  
[https://www.freemaptools.com/find-zip-codes-inside-radius.htm](https://www.freemaptools.com/find-zip-codes-inside-radius.htm)

You would have to either understand regexp or otherwise find a generator which you can enter a bunch of zip code values that will spit our a regexp string that will target only those values.

Hope this helps you!

---

<div class="post-metadata">

**Author:** ![Psymbionic](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/psymbionic/32/1047_2.png) [@Psymbionic](https://forum.mautic.org/u/Psymbionic)\
**Post date:** [February 13, 2020, 11:50pm UTC](https://forum.mautic.org/t/music-marketing-location-targeted-emails/8691/7 "2020-02-13T23:50:15Z")

</div>

I also installed this Mautic plugin which helps filtering by state depending on what source your contact information is coming from:

> **[TheDMSGroup/mautic-usstate-normalizer](https://github.com/TheDMSGroup/mautic-usstate-normalizer)**
>
> Normalize US States to their abbreviations. Contribute to TheDMSGroup/mautic-usstate-normalizer development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![timl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/timl/32/1666_2.png) [@timl](https://forum.mautic.org/u/timl)\
**Post date:** [February 18, 2020, 2:52pm UTC](https://forum.mautic.org/t/music-marketing-location-targeted-emails/8691/8 "2020-02-18T14:52:56Z")

</div>

That’s actually very helpful! What tool do use to generate the regex?

---

<div class="post-metadata">

**Author:** ![timl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/timl/32/1666_2.png) [@timl](https://forum.mautic.org/u/timl)\
**Post date:** [February 20, 2020, 6:56pm UTC](https://forum.mautic.org/t/music-marketing-location-targeted-emails/8691/9 "2020-02-20T18:56:58Z")

</div>

OK, so I figured out an approach that’s a little less-elegant. Basically, I’m taking my entire list of values and just putting a pipe between each of them, e.g. 01068|01420|01430|01431. It _could_ be shortened up quite a bit, but I’m not going to take the time to do it manually and couldn’t find a useful tool for it.
