# Page hit tracking issue

**URL:** <https://forum.mautic.org/t/page-hit-tracking-issue/8585>\
**Category:** Product Support\
**Created:** [May 25, 2017, 10:01pm UTC](https://forum.mautic.org/t/page-hit-tracking-issue/8585 "2017-05-25T22:01:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike55](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@mike55](https://forum.mautic.org/u/mike55)\
**Post date:** [May 25, 2017, 10:01pm UTC](https://forum.mautic.org/t/page-hit-tracking-issue/8585/1 "2017-05-25T22:01:06Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![mike55](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@mike55](https://forum.mautic.org/u/mike55)\
**Post date:** [May 25, 2017, 10:01pm UTC](https://forum.mautic.org/t/page-hit-tracking-issue/8585/2 "2017-05-25T22:01:06Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![mike55](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@mike55](https://forum.mautic.org/u/mike55)\
**Post date:** [May 26, 2017, 9:16am UTC](https://forum.mautic.org/t/page-hit-tracking-issue/8585/3 "2017-05-26T09:16:19Z")

</div>

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