Page hit tracking issue

Hi,



I’m using Mautic v2.8.2-dev with the following Javascript tracking code on my website :



(function(w,d,t,u,n,a,m){w=n;

w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments)},a=d.createElement(t),

m=d.getElementsByTagName(t)[0];a.async=1;a.src=u;m.parentNode.insertBefore(a,m)

})(window,document,‘script’,‘https://mautic-server.com/mtc.js’,'mt’);

mt(‘send’, ‘pageview’, {email: ‘my@email.com’});


  1. There is already a Contact in Mautic with email : "my@email.com"


  2. I open a webpage in a browser with Incognito mode.


  3. Mautic receives the request from the page view but instead of adding a new page hit to the existing Contact, he creates a new contact without any email. Only the IP address is set as the name of the contact.



    Is this the normal behavior?



    Thank you

Hi,

I’m using Mautic v2.8.2-dev with the following Javascript tracking code on my website :

(function(w,d,t,u,n,a,m){w[‘MauticTrackingObject’]=n;
w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments)},a=d.createElement(t),
m=d.getElementsByTagName(t)[0];a.async=1;a.src=u;m.parentNode.insertBefore(a,m)
})(window,document,‘script’,‘https://mautic-server.com/mtc.js’,'mt’);
mt(‘send’, ‘pageview’, {email: ‘my@email.com’});

  1. There is already a Contact in Mautic with email : "my@email.com"

  2. I open a webpage in a browser with Incognito mode.

  3. Mautic receives the request from the page view but instead of adding a new page hit to the existing Contact, he creates a new contact without any email. Only the IP address is set as the name of the contact.

Is this the normal behavior?

Thank you

Answering my own question:
You must check “Publicly updatable” option in Configuration > Custom fields > Email field