Your software
My Mautic version is: 4.3.1
My PHP version is: 7.4.3
My Database type and version is:
Your problem
My problem is: I have a mautic tracking 2 wordpress sites. Tracking pixel via the wordpress plugin is installed on both sites. Site A is working is 100%. Anonymous visitor are tracked and, once identified, their website clicks are linked to the known visitor.
But on website B I am having an issue. Anonymous visitors are tracked successfully. I have added a mautic form to the site so that anonymous traffic can be identified. When the form is completed, I can see the form completion in the known visitor history. I can see the correct IP address from the anonymous visitor showing as the IP address of the now known visitor. But the ongoing site visits are not showing in the known visitor history. The anonymous visitor with the same IP address as the known visitor is still existing and collecting all the website page visits data. The anonymous visitor should no longer exist as it should have been converted to the now known visitor once the mautic form is completed.
These errors are showing in the log: None
Steps I have tried to fix the problem:
Made sure the CORS policy is correct for both sites.
Looked at the browser console for errors (there are none)
Made sure the mautic tracking pixel is present on the site B
I am testing in an incognito browser
all I can say is I feel your pain Rob.
I know we have had this problem with a number of clients, I will check internally to see if and how it was resolved.
This is a repeating issue in Mautic and I think once we figure out what the main issues are we need to document it, I will even write it up for the Mautic Documentation. I have seen so many posts on this and written so many of my own.
On a.com you would deploy the tracking with the js content of: m.a.com/mtc.js
On b.com you would deploy also m.a.com/mtc.js. This means you have a cross domain tracking, which would not be acceptable for Google Chrome and Safari, they wouldn’t let a script from m.a.com to access b.com.
I have a use case need for this where I have a client, who for legacy reason, has multiple domains and sites all selling the same thing. I want to monitor and manage them all from a single mautic.