We have an issue with tracking an iFrame using AEP and changing MCIDs
We have AEP Installed across our primary domain (x.com) everything works fine, Analytics sends the correct beacon requests and the MCID remains constant.
Recently the business has developed an ACS webform and hosted on completely different domain (.adobe-campaign.com) and added it into a webpage on our primary domain as a standard iFrame.
We’ve added AEP to this webform (.adobe-campaign.com).
When we navigate to the primary domain (x.com) with the iFrame (.adobe-campaign.com) we see two-Analytics page load requests (x.com) with the constant MCID and (.adobe-campaign.com) with a different MCID.
I understand that the iFrame will generate a new MCID as it’s on a completely different domain however the issue I have is that every hit to (.adobe-campaign.com) generates a completely new MCID and not keep the first.
I have two questions:
- Is there a way the iFrame (.adobe-campaign.com) can use the primary MCID from (x.com)? – I’m not sure this is possible as they are totally different domains.
- If the above is not possible how can we configure so the the iFrame (.adobe-campaign.com) keeps the same MCID and not change every refresh/hit?