# Lead IP location doesn't work

**URL:** <https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017>\
**Category:** General Discussion\
**Created:** [December 18, 2015, 11:20am UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017 "2015-12-18T11:20:18Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![wwpelectroniks](https://avatars.discourse-cdn.com/v4/letter/w/cc9497/32.png) [@wwpelectroniks](https://forum.mautic.org/u/wwpelectroniks)\
**Post date:** [December 18, 2015, 11:20am UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/1 "2015-12-18T11:20:18Z")

</div>

Hello,  
  
  
  
When we receive visitors in our web, mautic stores as anonymous leads by IP adress. But doesn’t take the location IP. It was an error? I run DNS through Cloudflare, this could be the problem?  
  
  
  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![wwpelectroniks](https://avatars.discourse-cdn.com/v4/letter/w/cc9497/32.png) [@wwpelectroniks](https://forum.mautic.org/u/wwpelectroniks)\
**Post date:** [December 18, 2015, 11:20am UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/2 "2015-12-18T11:20:18Z")

</div>

Hello,

When we receive visitors in our web, mautic stores as anonymous leads by IP adress. But doesn’t take the location IP. It was an error? I run DNS through Cloudflare, this could be the problem?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![calo](https://avatars.discourse-cdn.com/v4/letter/c/53a042/32.png) [@calo](https://forum.mautic.org/u/calo)\
**Post date:** [December 18, 2015, 1:18pm UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/3 "2015-12-18T13:18:19Z")

</div>

Yes, it is most likely the Cloudflare server that is communicating with your Mautic tracking.  
Does it work if you disable the cache?

Try excluding your Mautic tracking URL from the cache.  
See [https://support.cloudflare.com/hc/en-us/articles/200172316-How-do-I-exclude-a-specific-URL-from-CloudFlare-s-caching-](https://support.cloudflare.com/hc/en-us/articles/200172316-How-do-I-exclude-a-specific-URL-from-CloudFlare-s-caching-)

---

<div class="post-metadata">

**Author:** ![kuzmany](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kuzmany/32/390_2.png) [@kuzmany](https://forum.mautic.org/u/kuzmany)\
**Post date:** [December 20, 2015, 1:52pm UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/4 "2015-12-20T13:52:29Z")

</div>

Because [https://github.com/mautic/mautic/issues/1231](https://github.com/mautic/mautic/issues/1231)

---

<div class="post-metadata">

**Author:** ![wwpelectroniks](https://avatars.discourse-cdn.com/v4/letter/w/cc9497/32.png) [@wwpelectroniks](https://forum.mautic.org/u/wwpelectroniks)\
**Post date:** [December 21, 2015, 8:52am UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/5 "2015-12-21T08:52:43Z")

</div>

Ok thanks! And now, what are Mautic plans about it? Plans to add other IP lookup supplier or suggests to install Telize in our servers ?

Thanks

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [December 21, 2015, 9:29am UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/6 "2015-12-21T09:29:24Z")

</div>

This is what the Mautic community plans about it: [https://github.com/mautic/mautic/pull/1252](https://github.com/mautic/mautic/pull/1252)

---

<div class="post-metadata">

**Author:** ![kuzmany](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kuzmany/32/390_2.png) [@kuzmany](https://forum.mautic.org/u/kuzmany)\
**Post date:** [December 21, 2015, 12:40pm UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/7 "2015-12-21T12:40:22Z")

</div>

@wwpelectroniks sill you can change Telize for another IP lookup provider. Find it in configuration.

---

<div class="post-metadata">

**Author:** ![wwpelectroniks](https://avatars.discourse-cdn.com/v4/letter/w/cc9497/32.png) [@wwpelectroniks](https://forum.mautic.org/u/wwpelectroniks)\
**Post date:** [January 7, 2016, 4:56pm UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/8 "2016-01-07T16:56:15Z")

</div>

Many thanks guys ! All works well.

---

<div class="post-metadata">

**Author:** ![buckhornmktg](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@buckhornmktg](https://forum.mautic.org/u/buckhornmktg)\
**Post date:** [May 10, 2016, 6:53pm UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/9 "2016-05-10T18:53:02Z")

</div>

I’ve been trying different providers from the drop down list in config for almost a month and have not gotten a single one to produce the location information. Can someone suggest a provider that works?

---

<div class="post-metadata">

**Author:** ![victoria](https://avatars.discourse-cdn.com/v4/letter/v/ea5d25/32.png) [@victoria](https://forum.mautic.org/u/victoria)\
**Post date:** [May 11, 2016, 2:24pm UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/10 "2016-05-11T14:24:31Z")

</div>

In my case when we receive visitors in our web mautic tracks the same IP adress. For example, if there are many people with the same wi-fi, mautic only recognizes the first person who clicks in the external link. The other people who links later, don’t exist for mautic. Also, mautic doesn’t recognizes our leads’ activity. Name, e-mail adress… doesn’t appears. My dns is in CDMON.

Can you help me??? Thanks in advance

---

<div class="post-metadata">

**Author:** ![waosau](https://avatars.discourse-cdn.com/v4/letter/w/35a633/32.png) [@waosau](https://forum.mautic.org/u/waosau)\
**Post date:** [July 19, 2016, 4:50am UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/11 "2016-07-19T04:50:02Z")

</div>

OK - It’s time to admit I’m beaten.

Running 4 test installations - 1.4.1 x 3 & thought I’d try 2.0 - all will slightly different configs.  
Cannot get the IP location to show on any. Have tried every possible permutation. Manual download of Mindmax / auto upgrade. Logged out / set my IP to the other side of the world, different crons. Nothing.

Please don’t tell me there is a tick box somewhere that must be ticked?

BG info:  
PHP Version 5.6.23  
shared server (should not matter however)

Everything else works ‘perfectly’ & 2.0 is excellent btw.

Any assistance on this would have a dramatic effect on my life.

Cheers

---

<div class="post-metadata">

**Author:** ![buckhornmktg](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@buckhornmktg](https://forum.mautic.org/u/buckhornmktg)\
**Post date:** [July 19, 2016, 5:28am UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/12 "2016-07-19T05:28:59Z")

</div>

@waosau First make sure you are using version 2.0. (just noticed you mentioned 2.0, try below)

In your 2.0 config, use Maxmind - Geolite2 City Download, download the files, and save.

Also, make sure you have the tracking pixel installed on your pages. If you do and you still aren’t getting data, try adding the script for third party landing pages. I’m not even sure which is the prefered method, I think I’m only using the pixel.

---

<div class="post-metadata">

**Author:** ![waosau](https://avatars.discourse-cdn.com/v4/letter/w/35a633/32.png) [@waosau](https://forum.mautic.org/u/waosau)\
**Post date:** [July 19, 2016, 6:57am UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/13 "2016-07-19T06:57:08Z")

</div>

Thanks @buckhornmktg  
Yes - v2.0.1  
Script already added - records website visits AOK. - no IP / location data  
I had not installed the tracking pixel however - now installed. Still no IP / location data.  
I know it’s tough to troubleshoot from across the world. This is not a critical element, but for some reason it’s really sucked me in and needs to be fixed. Can’t sleep / can’t eat… 🙂

---

<div class="post-metadata">

**Author:** ![buckhornmktg](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@buckhornmktg](https://forum.mautic.org/u/buckhornmktg)\
**Post date:** [July 19, 2016, 9:17am UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/14 "2016-07-19T09:17:56Z")

</div>

@waosau do you have anonymous leads enabled in your contact list?

“is:anonymous” in the filter field?

---

<div class="post-metadata">

**Author:** ![waosau](https://avatars.discourse-cdn.com/v4/letter/w/35a633/32.png) [@waosau](https://forum.mautic.org/u/waosau)\
**Post date:** [July 19, 2016, 9:45am UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/15 "2016-07-19T09:45:27Z")

</div>

@buckhornmktg indeed I do - there is hope after all…

so - created a form - plugged it in - and awesomeness abounds. It now all works with IP.  
I understand we now can’t get IP/location data from an email - must be website touch point generated.

Thanks very much mate. I appreciated your time.

---

<div class="post-metadata">

**Author:** ![buckhornmktg](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@buckhornmktg](https://forum.mautic.org/u/buckhornmktg)\
**Post date:** [July 19, 2016, 10:47am UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/16 "2016-07-19T10:47:06Z")

</div>

@waosau You can get it from the emails that Mautic sends. You may also be able to put the tracking pixel into your regular emails, but I haven’t tried this. Glad you got it all figured out.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:56pm UTC](https://forum.mautic.org/t/lead-ip-location-doesnt-work/3017/17 "2020-02-02T22:56:20Z")

</div>


