You can add files and other content to your site, including:
- YouTube videos, calendars, and maps
- Pages or sections of content from other websites
- HTML, CSS, or JavaScript code
Important: If a file is stored on a shared drive or has restricted sharing permissions, only people with access will be able to see the file. Learn how to change sharing permissions of your Google files.
Add Google Docs, Slides, Sheets, Forms & Charts
- On a computer, open a site in new Google Sites.
- At the right, click Insert.
- At the bottom of the menu, select the type of file you want to add, e.g. Docs, Slides, Sheets, Forms, or Charts.
- Choose a file
Insert.
- To publish your changes, at the top right, click Publish.
Tip: To ensure all visitors to your site have access to the files you insert, first publish your document in Google Docs, Sheets or Slides. In Google Sites, go to Insert Embed
insert the link to the published document.
You can also follow the instructions on how to add content from another website. First publish your document in Google Docs, Sheets or Slides. Then in Google Sites, go to Insert Embed
insert the link to the published document.
- On a computer, open a site in the new Google Sites.
- Click the Insert tab.
- Select Embed.
- Enter the group URL.
- Click Insert.
- On a computer, open a site in new Google Sites.
- At the right, click Insert.
- Select the type of file you want to add, e.g. YouTube, Calendar, or Map.
- Choose a video, calendar, or place
Select or Insert.
- To publish your changes, at the top right, click Publish.
- On a computer, open a site in new Google Sites.
- At the right, click Insert
Images.
- Choose a file from your computer
Open.
- To publish your changes, at the top right, click Publish.
- On a computer, open a site in new Google Sites.
- On the right, click Insert
Drive.
- Choose a file
Insert.
- To publish your changes, at the top right, click Publish.
To make sure files embedded in sites are accessible to all site collaborators and viewers, you must share file access with them when you publish a site. You can update sharing permissions when you embed a file, publish, or share a site.
If site collaborators don’t have permission to change the share settings of the embeds in the dialog, they don’t find an option to share them. The dialog shows them that not all site collaborators can access the embeds.
You can add web addresses, Google Apps Scripts, Data Studio reports, and App Maker apps. You can also embed a full website page.
- On a computer, open a site in new Google Sites.
- At the right, click Insert
Embed.
- You can also add an embed as an entire page.
- At the right, click Pages.
- Hover over Add
.
- Click Full page embed
.
- You can also add an embed as an entire page.
- Enter the URL you want to embed.
- Click Insert.
- To publish your changes, at the top right, click Publish.
Tip: Some websites won’t let you add their content to your site. If you can’t add content, contact the website’s owner.
- On a computer, open a site in new Google Sites.
- At the right, click Insert
Embed.
- You can also add an embed as an entire page.
- At the right, click Pages.
- Hover over Add
.
- Click Full page embed
.
- You can also add an embed as an entire page.
- Click Embed code.
- Add your code, then click Next.
- JavaScript code must be within <script> tags.
- CSS code must be within <style> tags.
- Click Insert.
- To publish your changes, at the top right, click Publish.
Search embedded Drive files in Google Sites
You can search for content within the Drive files that you embedded in your site, like Google Docs, Sheets, and Slides files.
- On your computer, open a site in Google Sites.
- At the top right of the page, click Search.
- In the search bar, enter the keywords or the file name you want.
- To find content from Drive files embedded in the site, at the top of the search results, click Embedded files tab.
Troubleshoot if the “Embedded files” tab doesn’t display
For the “Embedded files” tab to show to site viewers, your site must be indexed and contain at least one embedded file.
To get your site indexed, you can publish or republish the site.
Fix a “File indexing issue” error
A “File indexing issue” error may show if a file embedded in your site has reached its share limit. This happens because the file is embedded in too many sites.
If you get this error, other embedded files that are within their share limits remain indexed and searchable by viewers.
To resolve the error, you can:
- Remove the file from the site.
- Create a copy of the file and embed the new copy in the site.
Related resources
*Please note that only Core Services for Google Workspace are subject to the Data Processing Amendment to Google Workspace.