Contact Monitoring

Hello,



i have installed Mautic 2.2.1 in my Wordpress site.



Pageviews are being track correctly with mt(‘send’, ‘pageview’) but when i try adding an array for custom fields such as :

{email:“info@email.com”,attr:“val”}

doesn’t seem to work.



I have also tried adding :

{

onload: function() {

console.log(“onLoad”);

},

onerror: function() {

console.log(“onError”);

}

}

and i am not seeing any logs in the console.



Can some one help me understand how is it that the pageview is working but the rest of the parameters of the mt function seem to have no effect.



Thanks!

Hello,

i have installed Mautic 2.2.1 in my Wordpress site.

Pageviews are being track correctly with mt(‘send’, ‘pageview’) but when i try adding an array for custom fields such as :
{email:“info@email.com”,attr:“val”}
doesn’t seem to work.

I have also tried adding :
{
onload: function() {
console.log(“onLoad”);
},
onerror: function() {
console.log(“onError”);
}
}
and i am not seeing any logs in the console.

Can some one help me understand how is it that the pageview is working but the rest of the parameters of the mt function seem to have no effect.

Thanks!