we want load some content from an SFMC Landingpage using AJAX on our Webpage.

But its not working in every Browser because the CORS Access-Control-Allow-Origin is missing on the SFMC Landingpage.

Is it possible to activate it?


I found out a Solution.

Its possible to Set the Header using Server-Side JavaScript within the Landingpage.

Here is my Header and its working fine now.

<script runat=server>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.