Contact Us

November 28, 2024

May 13, 2026 3:03 pm

Embedding external urls in Marketing Cloud next landing pages

Share with

Understanding the Error

The error message typically occurs when the domain for the iframe src is not valid or is not allowed to be iframed. This could be due to the external website’s configuration or the Marketing Cloud Next settings.

To resolve this issue, it is essential to understand the platform-level cause of the error.

The root cause of the error is often the external website’s security policy, which may not allow iframing from other domains. Additionally, Marketing Cloud Next has its own security settings that may restrict iframing.

Step-by-Step Solution

To embed an external URL within an iframe on a Marketing Cloud Next landing page, follow these steps:

First, ensure the external URL is added to the Trusted Sites list in the Landing Page Builder. Then, verify that the external website allows iframing by testing it on another website.

If the issue persists, check the external website’s security policy and ensure it is not blocking iframing from Marketing Cloud Next.

Next, review the Marketing Cloud Next security settings to ensure they are not restricting iframing.

example.html

<iframe src="https://example.com"></iframe>

Best Practices and Additional Considerations

When embedding external URLs within iframes, it is crucial to consider security and performance implications.

Heads up: Ensure the external website is secure and trustworthy to avoid potential security risks.

Checklist for Embedding External URLs in Iframes

Pre-Embedding Checklist

  • Verify the external website allows iframing
  • Add the external URL to the Trusted Sites list in the Landing Page Builder
  • Test the iframe on another website to ensure it works as expected
  • Review the Marketing Cloud Next security settings to ensure they are not restricting iframing
  • Consider security and performance implications
  • Ensure the external website is secure and trustworthy

Frequently Asked Questions

What is the purpose of adding the external URL to the Trusted Sites list?

Adding the external URL to the Trusted Sites list allows Marketing Cloud Next to trust the external website and embed it within an iframe.

How can I test if the external website allows iframing?

You can test if the external website allows iframing by embedding it in an iframe on another website.

What are the security implications of embedding external URLs in iframes?

Embedding external URLs in iframes can pose security risks if the external website is not secure and trustworthy.

Can I embed any external URL in an iframe on Marketing Cloud Next?

No, you can only embed external URLs that allow iframing and are added to the Trusted Sites list in the Landing Page Builder.

Genetrix Technology · Salesforce Marketing Cloud Partner

Need help shipping this in production?

Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.

Get in Touch with Genetrix →

Blogs for the

Business-Savvy!​

Let’s Connect

A 30 min no cost strategy session
with cloud support expert

Let’s Connect

A 30 min no cost strategy session
with cloud support expert