Mautic Community Forums

Tracking Pixel: what field names to use

Hi,



I’m trying to update lead fields using the tracking pixel. It is passing the value to Mautic as they show in the anonymous visitors history, but they don’t populate the leads fields. I am passing firstname and email to Mautic.



I’m using javascript via google tag manager.

Code:

They appear in Mautic as:
Quote:
Time on page: Unknown
Referrer: www.example.url
Page URL: www.example.url
email: email@example.com
firstname: Mautic Test

So i guess there are two questions:

1. Can I populate the lead fields using the tracking pixel? If so then are there extra things I need to add prior to calling the fieldss?
2. What are the field names I should be using?

Thanks

Paul

Hi,

I’m trying to update lead fields using the tracking pixel. It is passing the value to Mautic as they show in the anonymous visitors history, but they don’t populate the leads fields. I am passing firstname and email to Mautic.

I’m using javascript via google tag manager.

[code]

[/code]

They appear in Mautic as:

[quote]Time on page: Unknown
Referrer: www.example.url
Page URL: www.example.url
email: email@example.com
firstname: Mautic Test[/quote]

So i guess there are two questions:

  1. Can I populate the lead fields using the tracking pixel? If so then are there extra things I need to add prior to calling the fieldss?
  2. What are the field names I should be using?

Thanks

Paul

Thanks. It seems to be working fine now with just the change to publicly updateable.