# Auto Importing WP Registrations into Mautic

**URL:** <https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267>\
**Category:** General Discussion\
**Created:** [May 10, 2020, 8:14pm UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267 "2020-05-10T20:14:37Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dannyogolo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dannyogolo/32/627_2.png) [@dannyogolo](https://forum.mautic.org/u/dannyogolo)\
**Post date:** [May 10, 2020, 8:14pm UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267/1 "2020-05-10T20:14:37Z")

</div>

What are the options to integrate my Mautic to automatically pull contacts from my WP site’s native registration form? Ideally I would not like to change to a thirrd party form.

---

<div class="post-metadata">

**Author:** ![renzof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/renzof/32/1738_2.png) [@renzof](https://forum.mautic.org/u/renzof)\
**Post date:** [May 11, 2020, 7:03am UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267/2 "2020-05-11T07:03:16Z")

</div>

Have you tried the Wordpress mautic plug-in ?

> **[WP Mautic](https://en-gb.wordpress.org/plugins/wp-mautic/)**
>
> Mautic WordPress Plugin injects Mautic tracking script and image in the WP website. Your Mautic instance will be able to track information about your …

---

<div class="post-metadata">

**Author:** ![dannyogolo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dannyogolo/32/627_2.png) [@dannyogolo](https://forum.mautic.org/u/dannyogolo)\
**Post date:** [May 11, 2020, 10:36am UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267/3 "2020-05-11T10:36:27Z")

</div>

It doesnt do that job. The difference is that WP Mautic can be used to place forms inside WP BUT cannot sync WP registration database into Mautic

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [May 11, 2020, 11:34am UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267/4 "2020-05-11T11:34:16Z")

</div>

Hey @dannyogolo

I am unfamiliar with Wordpress (in depth) however a solution I have proposed to a number of people looking to get external data into mautic is with the custom-import plugin.

If you are able to setup a job on your Wordpress server to automatically export data at certain intervals you can ftp the file using cronjob to mautic and auto-import.

> <https://github.com/mtcextendee/mautic-custom-import-bundle/blob/master/README.md>

Let me know if this is good for you and if you need any other help give a shout.

Good luck.

---

<div class="post-metadata">

**Author:** ![dannyogolo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dannyogolo/32/627_2.png) [@dannyogolo](https://forum.mautic.org/u/dannyogolo)\
**Post date:** [May 11, 2020, 11:53am UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267/5 "2020-05-11T11:53:41Z")

</div>

This will be too big for a non-dev like me. I willrather wait for a plugin solution. I saw a plugin which could connect both via API but seems to have a bug that makes it unable to import Mautic Segments into Wordpress,

> **[Connected but not working | WordPress.org](https://wordpress.org/support/topic/connected-but-not-working-2/)**
>
> Hi, I have connected with mautic by API (basic auth not working, not found method) but when i go to rules and want add to segment i have info…

---

<div class="post-metadata">

**Author:** ![leonardoborlot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/leonardoborlot/32/72_2.png) [@leonardoborlot](https://forum.mautic.org/u/leonardoborlot)\
**Post date:** [May 14, 2020, 11:44am UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267/6 "2020-05-14T11:44:01Z")

</div>

There’s a code if you place it on the functions file, it send a form data everytime if a new user was registered. Next you need only point the form I’d to revive this data.

This solution solve your problem?

---

<div class="post-metadata">

**Author:** ![dannyogolo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dannyogolo/32/627_2.png) [@dannyogolo](https://forum.mautic.org/u/dannyogolo)\
**Post date:** [May 14, 2020, 12:06pm UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267/7 "2020-05-14T12:06:43Z")

</div>

Can you point me to the page where this is discussed so i take a look at it ?

---

<div class="post-metadata">

**Author:** ![leonardoborlot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/leonardoborlot/32/72_2.png) [@leonardoborlot](https://forum.mautic.org/u/leonardoborlot)\
**Post date:** [June 3, 2020, 12:28am UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267/8 "2020-06-03T00:28:57Z")

</div>

No Danny

Sorru tô be late…

Thais os the script.

> <https://gist.github.com/leonardoborlot/2ae51b8045fd5a2528f81dc1fa96a13a>

---

<div class="post-metadata">

**Author:** ![dannyogolo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dannyogolo/32/627_2.png) [@dannyogolo](https://forum.mautic.org/u/dannyogolo)\
**Post date:** [June 4, 2020, 10:53pm UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267/9 "2020-06-04T22:53:00Z")

</div>

@leonardoborlot  
All this may be good, I am not just comfortable dealing with these codes.or scripts or whatever they are called.

I had 2 plugins

1. Imports WordPress registrations and commenters into Mautic. It still works perfectly.  
2 Is suppose to import people that fill different forms (I used Ninja Forms because the plugin supports Ninja forms. But after a while, this plugin broke on 2 of my sites. It still works on 2 sites.  
The problem now is that it says something like a critical error.

I need something that can import contacts from Ninja Forms and send them into various segments on Mautic

---

<div class="post-metadata">

**Author:** ![leonardoborlot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/leonardoborlot/32/72_2.png) [@leonardoborlot](https://forum.mautic.org/u/leonardoborlot)\
**Post date:** [June 4, 2020, 11:16pm UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267/10 "2020-06-04T23:16:03Z")

</div>

Ninja forms have a native mautic integration. Update to newer version.

---

<div class="post-metadata">

**Author:** ![dannyogolo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dannyogolo/32/627_2.png) [@dannyogolo](https://forum.mautic.org/u/dannyogolo)\
**Post date:** [June 6, 2020, 7:10pm UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267/11 "2020-06-06T19:10:37Z")

</div>

I suppose you mean the Mautic Add-on to Ninja Forms.  
I have got that too. But it has an issue. When mapping the ninja form to mautic, the field names are same.

I have about 5 websites on different segments of my Mautic setip.  
Each email field on Mautic has the field alias name “email”  
So if I am setting up the ninja form, i cant use "email alias because more than 10 forms have an alias names “email”. That made me to abandon the plugin. It has no way of mapping a mautic form to a ninja form like other plugins

---

<div class="post-metadata">

**Author:** ![leonardoborlot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/leonardoborlot/32/72_2.png) [@leonardoborlot](https://forum.mautic.org/u/leonardoborlot)\
**Post date:** [June 6, 2020, 11:05pm UTC](https://forum.mautic.org/t/auto-importing-wp-registrations-into-mautic/14267/12 "2020-06-06T23:05:18Z")

</div>

If im understand. May you change the html name in the mautic emails field. This is the parameters then you need to point the ninja form field.  
I think so, this will works.
