My Mautic version is: 3.2.5 and 3.3.2
My PHP version is: 7.3.27
When a visitor visits multiple pages of my website, Mautic creates multiple anonym contacts for him. Even after identifying him via Email, Mautic still creates multiple new anonym contacts for every page he visits.
I tested on multiple browsers. The issue is in Opera and Safari, but not in Firefox, Chrome, Microsoft Edge, Internet Explorer and Firefox Android
Steps I have tried to fix the problem:
I tested multiple browsers, turned “Anonymize IP” on and off, subscribed via my forms, etc. Tested for 5+ hours.
Please help me, because at the moment Mautic is useless this way - many new subscriber are unable to complete the double-optin process, so I lose many new leads.
I’m just asking, because it is really hard to test. And you rely on your own test, so if you do it wrong, you might think there is something wrong with Mautic. I would like to give you some tips:
Known/Unknown visitors are tracked by cookies. Cookies only have reliable access if they are first party cookies, which means your Mautic install domain should be a subdomain of the website you’d like to track. Otherwise it’s handled as third party cookie and the browsers will punish you for that, especially Safari.
Once you login as admin, you get an admin designation, that is saved. It means, that certain functions will work differently for you. You won’t be tracked for example. Or see dynamic content nor focus items. This also shows problems with understanding what doesn’t work.
If you check Mautic with privacy mode, then no cookies will be used, so you might be tracked as a new person every time you check the website.
Also make sure you use https in all cases.
I have to mention, that browser based tracking works really well. However there are issues with API + Browser tracking combination, but that is not what you subscribed.
I checked now in Mautic 7-8 real subscribers and plenty of them had this issue, that every page-view created a new visitor in Mautic for them. The big problem with this is, that even if they confirm their email-address (double-optin), this doesn’t get recognized - so they stay unconfirmed and I can’t send them new emails.
I always have “Identify visitor by tracking url” on ‘Yes’, so cookies can’t be the (only?) problem. Because when somebody submits my optin-form and clicks on the link which he gets via email, the visitor-ID should be in the tracking-url, shouldn’t it?
Plus, for testing-purposes, I turned on “Identify visitors by IP” (normally I don’t track IP’s), and even so this issue exists.
Sure, I do just use HTTPS
Hey, you are welcome, you solved it yourself. Good job and thx for posting the solution.
I would like to mention, that you can serve first party cookies the following way (I had a tutorial about this in the forum, but can’t find it now.)
Lets say you want to track: