Mautic Community Forums

Simple curl post to send leads

Hi there,



I would send to Mautic all leads comming form my trial page:

http://www.organizemeucondominio.com.br/residencialteste-adm/login



Is there a smple curl integration?

I mean, after a new user sign-up to the trial mode, I would send this information to be tracked with Mautic.



Thanks in advance.

Deal!

You lead me to find this page in the documentation:

https://www.mautic.org/docs/leads/lead_monitoring.html

Very easy, as everything should be.

Thanks you!

Hi there,

I would send to Mautic all leads comming form my trial page:
http://www.organizemeucondominio.com.br/residencialteste-adm/login

Is there a smple curl integration?
I mean, after a new user sign-up to the trial mode, I would send this information to be tracked with Mautic.

Thanks in advance.

Hi,

I’d use the Mautic API for this, but there’s also option to send lead information as tracking pixel URL query.

Here is the link to Mautic API library if you’d choose the API way: https://github.com/mautic/api-library

And if you want an example of the tracking pixel URL query, take a look at this line of the Mautic-Joomla plugin:

https://github.com/mautic/mautic-joomla/blob/master/mautic.php#L94

This plugin also implements the API to push leads from registration form so you can take a look at that. Make sure that if you choose just the tracking pixel URL query way, all lead fields you’ll send will has to be set as publicly updatable.