A lot of duplicates in contacts

Hello,

I’m finding strange results in my Contacts list:

as you can see in the screenshot (https://docs.google.com/drawings/d/1On1s4a5OJYFug1xgEp-6q6M3oL_DIWHf1RpXrCeEWOY/edit?usp=sharing)

most of the Anonymous contacts are duplicated (sometime even more than twice)

Why this happens?

Did I make some mistakes in configuring Mautic?



Thank in advance,

Carlo

Hello,
I’m finding strange results in my Contacts list:
as you can see in the screenshot (https://docs.google.com/drawings/d/1On1s4a5OJYFug1xgEp-6q6M3oL_DIWHf1RpXrCeEWOY/edit?usp=sharing)
most of the Anonymous contacts are duplicated (sometime even more than twice)
Why this happens?
Did I make some mistakes in configuring Mautic?

Thank in advance,
Carlo

@carlojbruno have you imported the contact or they are come from website

They are the anonymous contacts that visit the website

@carlojbruno Oh means a visitor visit your website twice at different different pages.

I’m also seeing this – multiple anonymous contacts; same IP; duplicate contact created multiple times.

The Mautic documentation says it automatically merges contacts with the same IP – so just wondering why it’s not happening?

I read somewhere the user may be blocking cookies … but again, the Mautic documentation says it merges contacts with the same IP?

Thanks in advance for any insight and how to resolve this … also as a stop-gap measure, is it possible to manually merge multiple anonymous contacts into one? I know you can merge known contacts, but I don’t see how to do that with anonymous ones.

Thank-you in advance!

you can run mautic:contacts:deduplicate command or mautic:unusedip:delete

2 Likes

Nice @EJL never seen that command before. Thanks

1 Like

Thank you, @EJL,

After running that command it shows 0 duplicates merged… Can this be made to work with anonymous contacts purely from their matching IP addresses?

I found this link: Mautic: Console Commands – Ricardo Malla's Blog ) which says the deduplicate command has been deprecated? But it seemed to try and do something?

Also, I guess there’s no way to merge multiple anonymous contacts with multiple IP’s (for some reason) who are actually the same person? (I’m actually wondering if it’s some web crawler or something who seemed to access almost every page / post on my site, but with different IP’s, but from the same locale, at the same time.)

Thanks!

This info is incorrect as I use the deduplicate and delete unusedip all the time in version 3.x

It merges contacts based on your selection of “Unique Identifier” in the Custom Fields tab in settings. By default it is just email address in Mautic, but you can set to whatever you like.

As a workaround you can add the naughty IP addresses in the Do Not Track box in settings.

You can also set up a segment with filter “email is blank.” add that segment to a campaign that deletes contact. It will catch all the “contacts” that are random IP addressed and delete them.

You can also ignore it

1 Like

Ahh, thank you kindly, I understand …

However, I do not see the IP as an option in the Custom Fields (so I can’t set it as a unique identifier). I suppose because it tracks IP automatically and is supposed to merge contacts accordingly (as per the documentation). However, it’s not doing it, and that’s my issue.

Maybe this toggle in settings / tracking settings would help

I understand it to be frustrating. I am not familiar with the frequency or mechanism Mautic uses to automatically merge the anonymous contacts. Maybe someone can chime in with a better solution.

Maybe this toggle in settings / tracking settings would help

Hi. I have set that toggle to identify visitors by IP already – but it doesn’t seem to do it … The deduplicate command also has no effect.

Hey Paul, sorry that was vague. I was suggesting turning IP tracking off, apply, save and close. Then turn it back on, apply save and close. To kickstart the merge by ip process

Hello,
Any update on this issue? I have the same issue. I’ve imported my clients database into Mautic (with emails, details, and IPs), when any user came through a Mautic link, he’s tracked as a different user and not merged with the contact with the IP.
Another issue, when a user came and place and order, I created the user through the API when order is placed with the user’s IP. However, I found 2 users, the first is unidentified and anonymous and the second is the one I created through the API. Both of them have the same IP address but they are not merged. Any help will be much appreciated.

run mautic:contacts:deduplicate

Hello EJL!
Thank you for your reply but I got 0 merged
0 contacts were merged. Just to explain the situation:
Contact A (identified) : email - name - 134.76.129.67
Contact B (unidentified) : no-email - no-name - 134.76.129.67

I already posted a topic with some screenshots, maybe it can help to better understand the issue: Associate IP to existing users

Thank you :slight_smile: