Google Sites Help
Steegle

Embed Websites and Apps Scripts using iframes

Insert external websites to new Google Sites using iframes and create gadgets using Google Apps Scripts

Instructions

Share via Twitter
Share via Google+
Share via LinkedIn
Share via Facebook

Insert a general Web Site

  1. Use the Embed URL option from the Insert panel (or the URL option from the Disc)

  2. Enter your URL in the Embed from the web dialogue box

  3. Choose either the Whole page option to see the full page inserted in your site or the Preview option if you want to see a link card.

  4. Use the Insert button to complete and then you can choose to size and position the embedded site

Limitations

  • You can only embed secure (https) URLs

  • If the website owner does not allow the site to appear in an iframe you cannot embed

  • You will only see the Preview option if the website provides the necessary Open Graph protocol tags

  • Fusion Tables URLs cannot be used at the moment.

Insert a Google Apps Script Web App

  1. Use the Embed URL option from the Insert panel (or the URL option from the Disc)

  2. Enter your web app URL in the Embed from the web dialogue box

  3. Choose the Whole page option

  4. Use the Insert button to complete and then you can choose to size and position the embedded script

Limitations

  • This is not full Apps Script integration with new Google Sites, so getting the site or page URL, etc, is not available

  • The embed tool removes any URL parameters so you need to add the information given in the parameters in a different way

  • If you use a custom domain web address mapping for your site you need to ensure that you enable the script to appear in an iframe - see setXFrameOptionsMode(mode)

Example Google Apps Script Gadgets

Twitter Feed - Apps Script Gadget

Custom Google Drive Folder Embed - Apps Script Gadget

Gadget Development for new Google Sites

If you interested in knowing more about these Apps Script gadgets for new Google Sites, or want your own gadget developed, please contact us

Keep up-to-date

Join the Sites Update Group on the Google Sites Classic Comparison to get email notifications about New Google Sites updates.

Subscribe to our newsletter for emails about all things Steegle