iFrame blocks can be used to embed interactive elements that are hosted elsewhere into your campaigns, like videos or polls. iFrames can also be used as a workaround to embed content that isn’t supported directly in our blocks, such as advanced surveys.
How to Create an iFrame Block
- Sign in to Studio.
- Click Create.
- You can start with a blank campaign, choose a template to edit, or add an iFrame block to an existing campaign. (For an overview of all campaign creation options, please refer to Create a New Campaign.)
- Click Add Layout to choose from a selection of content blocks.
- Select the Code block and click Use Block.
- On the Compose page, hover over the block and click the Code View icon.
- In the code view, replace the code with a new iFrame, or replace the example URL with the target embed URL. Click the < > icon again to see a preview.
- On the Compose page, you can now edit the Style and Cover, as well as send an email Preview of the iFrame, or view the preview for your desired channel/s.
Note: When publishing a stand-alone iFrame block, be sure to upload an image from your computer or select an image from the image library for use on the member experience content card. Otherwise, a default image will be used.
- Complete your campaign, including all of the Orchestrate settings.
- Click Publish in the bottom right corner to publish the campaign or Content Creators can save the campaign as a draft for review by selecting Save as draft from the Save menu.
What Members See
iFrame blocks appear under a content card in one of the feed views in the web experience.
Clicking on the associated content card will immediately open a new view. In this view, you can view the iFrame, bookmark the content, and add likes. You can also interact with the comments and share the content (if these features are enabled in Orchestration).
iFrame blocks also appear under a content card in one of the feed views in the mobile app experience.
Tapping on the content card will open a new view. In this view, you can view the iFrame, bookmark the content, and add likes. You can also interact with the comments and share the content (if these features are enabled in Orchestration).
Email does not support embedded content as webpages do, so iFrames cannot be rendered directly in the body of an email. Instead, users will see ‘Embedded content - click to view’ if their campaign contains an iFrame.