Tracking code does not create leads

Hi! I am new to Mautic, so it is possibly a silly question, but I cannot get it to create a lead from the tracking code.



I understand from the docs that a URL such as this:



http://www.logorapid.com/m/mtracking.gif?email=test@logorapid.com



should create a new lead with the email. But it does not happen, it only creates an anonymous lead.



This is an example I think should work, the real code I have put in the website is like this:



http://www.logorapid.com/m/mtracking.gif?d=YTozOntzOjg6InBhZ2VfdXJsIjtzOjQ5OiJodHRwOi8vd3d3LmxvZ29yYXBpZC5jb20vZGVzY2FyZ2FfZWJvb2tfbG9nb3JhcGlkIjtzOjEwOiJwYWdlX3RpdGxlIjtzOjM3OiJOdWVzdHJvIGxpYnJvIGRlIGxvZ290aXBvczogTG9nb1JhcGlkIjtzOjU6ImVtYWlsIjtzOjE4OiJ0ZXN0QGxvZ29yYXBpZC5jb20iO30%3D



The data in parameter “d” is this:



urlencode(base64_encode(serialize(array (

‘page_url’ => ‘http://www.logorapid.com/descarga_ebook_logorapid’,

‘page_title’ => ‘Nuestro libro de logotipos: LogoRapid’,

‘email’ => ‘test@logorapid.com’

))));



What am I doing wrong?

Hi! I am new to Mautic, so it is possibly a silly question, but I cannot get it to create a lead from the tracking code.

I understand from the docs that a URL such as this:

http://www.logorapid.com/m/mtracking.gif?email=test@logorapid.com

should create a new lead with the email. But it does not happen, it only creates an anonymous lead.

This is an example I think should work, the real code I have put in the website is like this:

http://www.logorapid.com/m/mtracking.gif?d=YTozOntzOjg6InBhZ2VfdXJsIjtzOjQ5OiJodHRwOi8vd3d3LmxvZ29yYXBpZC5jb20vZGVzY2FyZ2FfZWJvb2tfbG9nb3JhcGlkIjtzOjEwOiJwYWdlX3RpdGxlIjtzOjM3OiJOdWVzdHJvIGxpYnJvIGRlIGxvZ290aXBvczogTG9nb1JhcGlkIjtzOjU6ImVtYWlsIjtzOjE4OiJ0ZXN0QGxvZ29yYXBpZC5jb20iO30%3D

The data in parameter “d” is this:

urlencode(base64_encode(serialize(array (
‘page_url’ => ‘http://www.logorapid.com/descarga_ebook_logorapid’,
‘page_title’ => ‘Nuestro libro de logotipos: LogoRapid’,
‘email’ => ‘test@logorapid.com’
))));

What am I doing wrong?

Is the email field publicly editable?

Not in the same page, I collect it from a form in the previous page. I only send the email as a parameter to the tracking pixel.

I mean in Mautic. If you check the docs you are referring to, there is a note that if you want to send information to a lead fields from tracking pixel URL, you have to mark those lead fields as publicly editable.

Thaks, that was it! I knew it had to be something easy, it has worked immediately.