The iframe component

This component is not supported for AMPHTML adsvideo ads or image ads.

The iframe component lets you load external URL elements (including other web pages) in your project within an iframe.

To add the iframe component to your project:

  1. Open the Components panel, then the Miscellaneous folder.
  2. Drag the iframe component to the stage.
  3. In the iframe properties section of the Properties panel, enter the URL that you want to load in the Source field. It must be served over HTTPS.

Properties

Property Description
Named The name of the component.
Source The URL of the external element. It should be served over HTTPS. Can be bound to dynamic data.
Scroll
  • auto – Scrollbars appear if needed. (Default)
  • yes – Scrollbars always appear.
  • no – Scrollbars never appear.

Scrollbar controls do not work for iOS.

Events and actions

Events sent by the iframe component

You can trigger other actions based on the following iFrame component event:

Event Description
iFrame loaded Sent when the iframe loads.

To select this event in the Event dialogue, set the iframe component as the target.

Actions performed by the iframe component

The following iFrame component action can be triggered in response to other events:

Action Configuration options
Set URL URL – The new URL for the iframe. It should be served over HTTPS.

When you select this action in the Event dialogue, set the iframe component as the receiver.

Learn how to configure events.

Preview

This component can't be previewed inside the Google Web Designer interface. To see the component in action, preview your document in your preferred browser by clicking the Preview button in the upper-right corner.

Was this helpful?

How can we improve it?
true
Search
Clear search
Close search
Google apps
Main menu
7455766831952829281
true
Search Help Centre
true
true
true
true
true
5050422
false
false