# Merge external data with Mautic via export and import

**URL:** <https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379>\
**Category:** Product Support\
**Created:** [February 2, 2016, 3:43pm UTC](https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379 "2016-02-02T15:43:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![milescantley](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@milescantley](https://forum.mautic.org/u/milescantley)\
**Post date:** [February 2, 2016, 3:43pm UTC](https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379/1 "2016-02-02T15:43:30Z")

</div>

I have some external data that I would like to merge with Mautic. I would like to update the anonymous Mautic leads with company names from the external source, partly because Geo location is not working. Is there a way to export the anonymous leads, and add data to them before importing them back again?

---

<div class="post-metadata">

**Author:** ![milescantley](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@milescantley](https://forum.mautic.org/u/milescantley)\
**Post date:** [February 2, 2016, 3:43pm UTC](https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379/2 "2016-02-02T15:43:30Z")

</div>

I have some external data that I would like to merge with Mautic. I would like to update the anonymous Mautic leads with company names from the external source, partly because Geo location is not working. Is there a way to export the anonymous leads, and add data to them before importing them back again?

---

<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:** [February 3, 2016, 11:52am UTC](https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379/3 "2016-02-03T11:52:23Z")

</div>

What service do you use for geolocation which doesn’t work?

Leads can be exported via Reports.

---

<div class="post-metadata">

**Author:** ![milescantley](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@milescantley](https://forum.mautic.org/u/milescantley)\
**Post date:** [February 3, 2016, 12:25pm UTC](https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379/4 "2016-02-03T12:25:27Z")

</div>

MaxMind GeoIP2 Precision. The system just records an IP address with no other data.

I have placed our login and password with a colon between them as instructed, but no joy.

Reports don;t seem to be able to export IP addresses, so that doesn’t help either ☹

---

<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:** [February 3, 2016, 12:35pm UTC](https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379/5 "2016-02-03T12:35:46Z")

</div>

Right, in your case, I’d create 2 Github issues. One bug report that MaxMind GeoIp2 Precision doesn’t work and that you are willing to provide your credentials for testing purposes to developer who will be able to fix it. Second would be a feature request to ad IP address to the lead reports.

As a quick fix for your problem, you’ll probably have to access data in the Mautic database directly. I think you’d need a simple select with IP table join. Tools like PhpMyAdmin will let you then export the data in various formats.

---

<div class="post-metadata">

**Author:** ![milescantley](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@milescantley](https://forum.mautic.org/u/milescantley)\
**Post date:** [February 4, 2016, 10:23am UTC](https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379/6 "2016-02-04T10:23:54Z")

</div>

Hello - bug report is here [https://github.com/mautic/mautic/issues/1404](https://github.com/mautic/mautic/issues/1404)

Feature request - [https://github.com/mautic/mautic/issues/1405](https://github.com/mautic/mautic/issues/1405)

Not done this before so let me know if any information is missing.

---

<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:** [February 4, 2016, 10:27am UTC](https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379/7 "2016-02-04T10:27:13Z")

</div>

seems good to me

---

<div class="post-metadata">

**Author:** ![milescantley](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@milescantley](https://forum.mautic.org/u/milescantley)\
**Post date:** [February 8, 2016, 1:38pm UTC](https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379/8 "2016-02-08T13:38:20Z")

</div>

Any news on this? Nothing much seems to be happening…

I have tested the MaxMind service on their website with these same credentials and it does work so I think it must be a Mautic issue.

---

<div class="post-metadata">

**Author:** ![milescantley](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@milescantley](https://forum.mautic.org/u/milescantley)\
**Post date:** [February 11, 2016, 11:03am UTC](https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379/9 "2016-02-11T11:03:02Z")

</div>

Can I have an answer on this please? I first flagged this with Alan months ago, gave him our details, and nothing happened. It is quite clear that Mautic is not working as it should, and nothing seems to be happening to sort it out. I need an answer - our marketing campaigns are stalling because of it.

---

<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:** [February 11, 2016, 11:25am UTC](https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379/10 "2016-02-11T11:25:33Z")

</div>

Seems like all the developers are busy with other priorities. Also, you shouldn’t be angry with the open source developers who are donating their free time to develop Mautic that they doesn’t do exactly what you want ASAP. There are thousands of people who want to implement their feature or fix the bug they are facing. It is not physically possible to meet such demand. Would you mind to find a developer for this issue yourself and contribute the fix back to the project?

---

<div class="post-metadata">

**Author:** ![milescantley](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@milescantley](https://forum.mautic.org/u/milescantley)\
**Post date:** [February 12, 2016, 3:27pm UTC](https://forum.mautic.org/t/merge-external-data-with-mautic-via-export-and-import/3379/11 "2016-02-12T15:27:07Z")

</div>

Sorry to be frustrated, I do appreciate what the developers do for the community in providing the software free of charge. I will certainly see what can be done to fix the bug and would be very happy to share a solution if we find one.
