Anonymous Contact Record Duplication Inflates the Real Contact Record Count

Hello,

We are running Mautic 6.0.3

When a new contact is created either manually or by an import a single contact record is created. And each time that contact interacts with Mautic the interaction details are added to that contact ID such that if you edit the contact at the bottom of the form you can see all the interactions listed. That is one contact record with many interactions. This is all well and good.

However when an anonymous contact interacts with Mautic, each separate interaction creates a new contact record. For example if anonymous IP address 1.2.3.4 interacts 50 times, 50 contact records are created for anonymous IP 1.2.3.4. You can see all the contact record id’s when you view contacts and click the anonymous button.

Why are multiple contact records being created for the same anonymous ip address, one per interaction. Surely only one anonymous contact record should be created for a given IP with each interaction recorded as per a normal contact.

This creates a significant number of duplicated anonymous contact records for the same IP address which is not good database design and artificially inflates the number of real contact records.

Would community forum members running Mautic 5.x and 6.x please check their anonymous contacts and see if you have the same duplication ?

Is this duplication by design or is it a bug ?

Thanks.

Hello,

If a developer would kindly tell me where I can find the code in Mautic 6.x which relates to the detection and the creation of anonymous contacts I will check the logic of the code myself and I will try to develop a solution so that only a single anonymous contact is created rather than multiple duplicates as described in my previous post.

I need there to be a single anonymous contact record to reduce code complexity for the following Mautic hacker detection code I’m currently developing.

I’m currently developing a real time monitor to detect Mautic hackers and to automatically add their IP addresses to a firewall block list in real time. Also to be able to export a list of hacker IP’s so they can be reported to the authories including details of the hack event etc.

I don’t need assistance developing the code, I just need to know were the relevant code is in Mautic 6.x as described above

Thanks.