# Add Contact Via API Not Using Same MTC\_ID That Shows In Cookie (Not Tracking Page Hits Under Contact ID)?

**URL:** <https://forum.mautic.org/t/add-contact-via-api-not-using-same-mtc-id-that-shows-in-cookie-not-tracking-page-hits-under-contact-id/31726>\
**Category:** Product Support\
**Created:** [April 17, 2024, 7:39pm UTC](https://forum.mautic.org/t/add-contact-via-api-not-using-same-mtc-id-that-shows-in-cookie-not-tracking-page-hits-under-contact-id/31726 "2024-04-17T19:39:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![olimits7](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/olimits7/32/3071_2.png) [@olimits7](https://forum.mautic.org/u/olimits7)\
**Post date:** [April 17, 2024, 7:39pm UTC](https://forum.mautic.org/t/add-contact-via-api-not-using-same-mtc-id-that-shows-in-cookie-not-tracking-page-hits-under-contact-id/31726/1 "2024-04-17T19:39:24Z")

</div>

**Your software**  
My Mautic version is: 2.16.3  
My PHP version is: 7.3.33  
My Database type and version is: MariaDB 10.1

When I go to my website I can see that the MTC\_ID shows me a value, I then sign up on my website entering in name, email address, etc. and using the Mautic API I create this contact also sending the IP address of the user.

However, when I look at this contact under Mautic I see a new MTC\_ID is created and assigned to this new user.

I then log out and log back in using the email address of the new user I created but a different MTC\_ID shows in the cookie.

This used to work before and I was able to track “Page Hits” from my contacts but now I can only see “Page Hits” if I click on the “Anonymous” button and view it by IP address.

Does anyone have an idea of why this isn’t working anymore?

Thank you.
