# Lead fields not inserted

**URL:** <https://forum.mautic.org/t/lead-fields-not-inserted/2957>\
**Category:** Product Support\
**Created:** [December 12, 2015, 5:53pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957 "2015-12-12T17:53:37Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkanters](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@gkanters](https://forum.mautic.org/u/gkanters)\
**Post date:** [December 12, 2015, 5:53pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/1 "2015-12-12T17:53:37Z")

</div>

Hello Guys,  
  
  
  
I am new to mautic, but rather enthusiastic about it. I have a setup running and one website with the sensor pixel. This site people need to login and have profiles, so I have a lot of information to go on. I extended the fields in the pixel with location and company info. That information does come through ( I see it on the events of a lead. But the profile is not updated.  
  
  
  
The other thing which is really a showstopper is that in emails adding {lead field=firstname} or lastname does not work. In the builder it is show as **Last Name** and in the actual email I get when testing the email is [Last Name]  
  
  
  
Another thing I noticed is that adding a link to view it in HTML provided me a 404 error this is the link  
  
  
  
[http://mautic.netcare.nl/email/view/566c5ba870715](http://mautic.netcare.nl/email/view/566c5ba870715)  
  
  
  
If you prefer to make issue on github, just let me know. I thought let’s start in the community

---

<div class="post-metadata">

**Author:** ![gkanters](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@gkanters](https://forum.mautic.org/u/gkanters)\
**Post date:** [December 12, 2015, 5:53pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/2 "2015-12-12T17:53:37Z")

</div>

Hello Guys,

I am new to mautic, but rather enthusiastic about it. I have a setup running and one website with the sensor pixel. This site people need to login and have profiles, so I have a lot of information to go on. I extended the fields in the pixel with location and company info. That information does come through ( I see it on the events of a lead. But the profile is not updated.

The other thing which is really a showstopper is that in emails adding {lead field=firstname} or lastname does not work. In the builder it is show as **Last Name** and in the actual email I get when testing the email is [Last Name]

Another thing I noticed is that adding a link to view it in HTML provided me a 404 error this is the link

[http://mautic.netcare.nl/email/view/566c5ba870715](http://mautic.netcare.nl/email/view/566c5ba870715)

If you prefer to make issue on github, just let me know. I thought let’s start in the community

---

<div class="post-metadata">

**Author:** ![gkanters](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@gkanters](https://forum.mautic.org/u/gkanters)\
**Post date:** [December 12, 2015, 7:32pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/3 "2015-12-12T19:32:09Z")

</div>

Maybe this helps, trying to unsubscribe it says “record not found”

---

<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 14, 2015, 4:21pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/4 "2015-12-14T16:21:55Z")

</div>

Maybe this will help:

> [@](#):
>
> You can also pass information specific to your lead by setting Mautic lead field(s) to be publicly updatable.

[https://www.mautic.org/docs/leads/lead\_monitoring.html](https://www.mautic.org/docs/leads/lead_monitoring.html)

> [@](#):
>
> The link tracking doesn’t work for test emails, so make sure the email was send to an existing lead. Not by the Send Example link.

[https://www.mautic.org/docs/emails/troubleshooting.html](https://www.mautic.org/docs/emails/troubleshooting.html)

---

<div class="post-metadata">

**Author:** ![gkanters](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@gkanters](https://forum.mautic.org/u/gkanters)\
**Post date:** [December 14, 2015, 4:26pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/5 "2015-12-14T16:26:48Z")

</div>

The lead monitoring stuff I understand. As you liked my third party plugin which is doing that for me 🙂

What about the question in the header “Lead fields not inserted” ?

---

<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 14, 2015, 4:37pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/6 "2015-12-14T16:37:32Z")

</div>

Ok, so I guess I don’t understand your question(s). Lead fields not inserted? That is another question not related to the post text? Could you describe it more?

---

<div class="post-metadata">

**Author:** ![gkanters](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@gkanters](https://forum.mautic.org/u/gkanters)\
**Post date:** [December 14, 2015, 4:46pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/7 "2015-12-14T16:46:01Z")

</div>

Sorry not being clear. I will try again: I created an email, select Mauve theme, lauch the builder and start the email with

Hi {leadfield=firstname} ,

This is shown as **First Name**

After finishing the email I hit the button “send example” When open ing the email it says "Hi [First Name] "

Obvious my intention was that it should open : Hi Gerard,

---

<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 14, 2015, 4:58pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/8 "2015-12-14T16:58:23Z")

</div>

I think I answered this question in my first response.

---

<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 14, 2015, 4:59pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/9 "2015-12-14T16:59:54Z")

</div>

Oh, it’s not about the lead fields, but about the tracking. But it works the same. The test emails are not sent to any lead so the lead information aren’t there. You can send the email to a lead and the name will be populated.

---

<div class="post-metadata">

**Author:** ![gkanters](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@gkanters](https://forum.mautic.org/u/gkanters)\
**Post date:** [December 14, 2015, 5:22pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/10 "2015-12-14T17:22:58Z")

</div>

Ah, thanks. That is not clear from the documentation. How do you suggest to test email sending ? With the tracking pixel I simply open another browser to and check the log if the API call is handled correctly with all fields.

Also would like to test the HTML view of the email. When you click on that link it says RECORD NOT FOUND.

---

<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 14, 2015, 5:27pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/11 "2015-12-14T17:27:04Z")

</div>

Do you have the email published?

I test it by sending the email to a list with my testing emails if it is a list email or send it directly to a testing lead from the lead detail if it is a template email.

---

<div class="post-metadata">

**Author:** ![gkanters](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@gkanters](https://forum.mautic.org/u/gkanters)\
**Post date:** [December 14, 2015, 5:28pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/12 "2015-12-14T17:28:57Z")

</div>

Will try that. As to RECORD NOT FOUND, is that also because I am administrator ?

---

<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 14, 2015, 5:32pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/13 "2015-12-14T17:32:14Z")

</div>

My guess is that the record not found is there because the email is unpublished or the un/publish dates are filled with some date which makes it unpublished. I don’t have any other explanation.

---

<div class="post-metadata">

**Author:** ![gkanters](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@gkanters](https://forum.mautic.org/u/gkanters)\
**Post date:** [December 14, 2015, 5:40pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/14 "2015-12-14T17:40:26Z")

</div>

I checked and the email is published and I did not include un/publish dates.

---

<div class="post-metadata">

**Author:** ![jwldub](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@jwldub](https://forum.mautic.org/u/jwldub)\
**Post date:** [January 15, 2017, 6:01pm UTC](https://forum.mautic.org/t/lead-fields-not-inserted/2957/15 "2017-01-15T18:01:42Z")

</div>

How can you send a notification to a user/admin containing lead info for a specific lead? For instance, once a lead fills out the first form, we do not want to be notified. However, when they will out the third form, we would like to be notified by email. In the notification email, we want it to include ALL lead data that has ever been submitted from any form in the past.

---

<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-fields-not-inserted/2957/16 "2020-02-02T22:56:30Z")

</div>


