Issue with URL destination setup in Audience Manager (AAM)

Avatar

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

538 likes

Total Posts

971 posts

Correct reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

538 likes

Total Posts

971 posts

Correct reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile
Andrey_Osadchuk
MVP

05-11-2017

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:

aam-url-destination-debug.png

Can anyone explain why the error occurs and how to make the URL destination working correctly?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor 2
MVP
Varun_Kalra
MVP

Likes

181 likes

Total Posts

286 posts

Correct reply

121 solutions
Top badges earned
Contributor 2
Contributor
Seeker
Ignite 10
Ignite 5
View profile

Avatar
Contributor 2
MVP
Varun_Kalra
MVP

Likes

181 likes

Total Posts

286 posts

Correct reply

121 solutions
Top badges earned
Contributor 2
Contributor
Seeker
Ignite 10
Ignite 5
View profile
Varun_Kalra
MVP

07-11-2017

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

Answers (2)

Answers (2)

Avatar

Avatar
Contributor 2
MVP
Varun_Kalra
MVP

Likes

181 likes

Total Posts

286 posts

Correct reply

121 solutions
Top badges earned
Contributor 2
Contributor
Seeker
Ignite 10
Ignite 5
View profile

Avatar
Contributor 2
MVP
Varun_Kalra
MVP

Likes

181 likes

Total Posts

286 posts

Correct reply

121 solutions
Top badges earned
Contributor 2
Contributor
Seeker
Ignite 10
Ignite 5
View profile
Varun_Kalra
MVP

10-11-2017

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

Avatar

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

538 likes

Total Posts

971 posts

Correct reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

538 likes

Total Posts

971 posts

Correct reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile
Andrey_Osadchuk
MVP

07-11-2017

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.