# Merge tracked Anonymous contact with (untracked) Contact?

**URL:** <https://forum.mautic.org/t/merge-tracked-anonymous-contact-with-untracked-contact/7352>\
**Category:** Product Support\
**Created:** [February 1, 2017, 4:58pm UTC](https://forum.mautic.org/t/merge-tracked-anonymous-contact-with-untracked-contact/7352 "2017-02-01T16:58:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![djd](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@djd](https://forum.mautic.org/u/djd)\
**Post date:** [February 1, 2017, 4:58pm UTC](https://forum.mautic.org/t/merge-tracked-anonymous-contact-with-untracked-contact/7352/1 "2017-02-01T16:58:20Z")

</div>

When a user signs up to my website, I create a HTTP request to add the user’s name & email to my Mautic Contacts.  
  
  
  
I want to do 2 things:

1. Merge the (previously Anonymous) user with the new Contact, so all activities/points of the Anonymous user are now the Contact’s.  
2. Track the website user as the Contact  
  
  
  
Every user on my website has a User ID. This ID is saved in a custom field in Mautic (Unique Identifier). Is it possible to use this ID to track the proper user?  
  
Right now I’m doing

Code:

mt('send', 'pageview', {email: 'user email', fingerprint:'md5 hash of user id'});

, but the tracked user is still Anonymous, even though the email defined in mt('send') belongs to a Contact.

---

<div class="post-metadata">

**Author:** ![djd](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@djd](https://forum.mautic.org/u/djd)\
**Post date:** [February 1, 2017, 4:58pm UTC](https://forum.mautic.org/t/merge-tracked-anonymous-contact-with-untracked-contact/7352/2 "2017-02-01T16:58:20Z")

</div>

When a user signs up to my website, I create a HTTP request to add the user’s name & email to my Mautic Contacts.

I want to do 2 things:

1. Merge the (previously Anonymous) user with the new Contact, so all activities/points of the Anonymous user are now the Contact’s.
2. Track the website user as the Contact

Every user on my website has a User ID. This ID is saved in a custom field in Mautic (Unique Identifier). Is it possible to use this ID to track the proper user?  
Right now I’m doing `mt('send', 'pageview', {email: 'user email', fingerprint:'md5 hash of user id'});`, but the tracked user is still Anonymous, even though the email defined in mt(‘send’) belongs to a Contact.
