Mautic Community Forums

New lead track event

Hi there,



I have seen in the doc that we can use this to send a new lead manually:

Code:
mt('send', 'pageview', {email: 'my@email.com', firstname: 'John'});

I have test it in many sites and 2 computers and it doesn't work. I have use the navigator console to test it. Why does it not work? How can I send a lead manually?

Many thanks.

Hi there,

I have seen in the doc that we can use this to send a new lead manually:

mt('send', 'pageview', {email: 'my@email.com', firstname: 'John'});

I have test it in many sites and 2 computers and it doesn’t work. I have use the navigator console to test it. Why does it not work? How can I send a lead manually?

Many thanks.

I have taken this code from here:

https://mautic.org/docs/en/contacts/contact_monitoring.html