Hi everyone,
I set up a URL destination and mapped a few segments to it. When I open the site with AAM implemented (DIL code version 6.9) and get qualified for the mapped segments, an error occurs on the page. The following appears in the browser console:
Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://MY-COMPANY-SUBDOMAIN.demdex.net';) does not match the recipient window’s origin ('http://fast.MY-COMPANY-SUBDOMAIN.demdex.net';).
dil-contents-30aece1f61d3d55ce725b2d76ce65f996b14b2a0.js:56
The AAM event call looks as shown in the screenshot below:
Can anyone explain why the error occurs and how to make the URL destination working correctly?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi there,
Could you check and tell if you still get this error in console, if you do not get qualified for the URL destination?
Since fast.company.demdex.net is the domain for dest5.html iframe in case your site is on non secure domain, and that too happens on the very first page load. From the second page refresh onwards dest5.html's domain will be company.demdex.net
Thanks,
Varun Kalra
Views
Replies
Total Likes
Hi there,
Could you check and tell if you still get this error in console, if you do not get qualified for the URL destination?
Since fast.company.demdex.net is the domain for dest5.html iframe in case your site is on non secure domain, and that too happens on the very first page load. From the second page refresh onwards dest5.html's domain will be company.demdex.net
Thanks,
Varun Kalra
Views
Replies
Total Likes
Hi Varun,
I get the error every time when get qualified for the segment mapped to the URL destination. It is happening on the first and next page view (page load). The site is hosted on HTTP.
Views
Replies
Total Likes
Hi Andrey,
Could you DM me your AAM account details, Segment ID and Destination ID, I will have to look into the settings in AAM UI and I will check if I am able to replicate the issue with any other URL in my test account.
Thanks,
Varun Kalra
Views
Likes
Replies
Views
Likes
Replies