# Contact Tracking - pageview doesn't work

**URL:** https://forum.mautic.org/t/contact-tracking-pageview-doesnt-work/36246
**Category:** Product Support
**Created:** [August 2, 2025, 1:47pm UTC](https://forum.mautic.org/t/contact-tracking-pageview-doesnt-work/36246 "2025-08-02T13:47:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![and\_g](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/and_g/32/14268_2.png) [@and\_g](https://forum.mautic.org/u/and_g)
#### Post date: [August 2, 2025, 1:47pm UTC](https://forum.mautic.org/t/contact-tracking-pageview-doesnt-work/36246/1 "2025-08-02T13:47:08Z")

</div>

**Your software**  
My Mautic version is: 6.0.0  
My PHP version is: 8.3.22  
My Database type and version is: MariaDB 11.4.7

**Your problem**

I want to track pageviews and custom events for my existing contacts, but no events are recorded in the system.

I tried to use the script like this:

I can see in network tab the POST event was send succesfully. I also tried incognito mode. If I check my contact there is no page view event.

 ![Screenshot 2025-08-02 at 11.22.47](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/5b6fe2243e081e4ecfbd0b0eb782e236062c6005.jpeg)

 ![Screenshot 2025-08-02 at 11.23.07](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/1544652847a4bcfd4f7c91e4307ce8ec614d3591.jpeg)

 ![Screenshot 2025-08-02 at 11.23.01](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/85083fa81e77dd1b75017fce7b1fbd1265e2fa4e.jpeg)

---

<div class="post-metadata">

### Author: ![and\_g](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/and_g/32/14268_2.png) [@and\_g](https://forum.mautic.org/u/and_g)
#### Post date: [August 3, 2025, 1:03pm UTC](https://forum.mautic.org/t/contact-tracking-pageview-doesnt-work/36246/2 "2025-08-03T13:03:27Z")

</div>

I don’t know why the code snippet is missing and I cannot edit my question, it’s here:

I tried this:

window.mt(‘send’, ‘pageview’, {  
email: ‘john@example.com’,  
firstname: ‘John’,  
lastname: ‘Doe’  
})

and also this:

window.mt(‘identify’, {  
email: ‘john@example.com’,  
firstname: ‘John’,  
lastname: ‘Doe’  
})

window.mt(‘send’, ‘pageview’)
