Add gadgets, scripts & more to Classic Sites

You can customize your site by adding links, scripts, gadgets, app content, and other features.

Customize your site

Link to files or text

You can link to files or different parts of your site so that people can easily find information.

Link to files on your site

  1. On a computer, open a site in Classic Google Sites.
  2. In the top right, click More actions Settings.
  3. Click Manage Site and then Attachments.
  4. Next to the file, right-click on View or Download.
  5. Select Copy Shortcut or Copy Link Address:
    • View: Choose this option if you want people to see the file in a new window.
    • Download: Choose this option if you want people to download a copy of the file on their computer.
  6. Go to the page where you want to put the link and click Edit Edit.
  7. Select the text you want to link and click Link Link and then Web address.
  8. Under "Link to this URL," paste the copied link and click OK and then Save.

Link to a section on your site

If you want to link to a part of your page that isn't a header, you can add anchor links to your page.

  1. On a computer, open a site in Classic Google Sites.
  2. Go to the page with the content you want to link to and click Edit Edit and then <HTML>.
  3. Add an anchor link to your text. For example: <a name="AnchorName"> This is my text </a>.
    • Tip: Replace "AnchorName" with a name for the link.
  4. Click Update and then Save.

To see if your anchor link works, add # and the name of the text link to the end of your page's URL and press Enter.

  • For example, https://sites.google.com/site/mysite#AnchorName.

Add gadgets to your site

You can add a calendar, calculator, newsfeed, or other gadgets to your site.

  1. On a computer, open a site in Classic Google Sites.
  2. Click the page where you want to add a gadget.
  3. At the top right, click Edit Edit.
  4. Click where you want to insert the file.
  5. Click Insert and then under "Gadgets," click More gadgets.
  6. On the left, pick a gadget source.
  7. Scroll through the list of gadgets and click the ones you want to use.
  8. At the top right, click Save.

Note: Gadgets don’t count toward your storage limits.

Add a comments section

You can let users with editing permissions comment on your site.

  1. On a computer, open a site in Classic Google Sites.
  2. Go to the page where you want to add comments.
  3. Click More options Settings and then Page settings.
  4. Click Allow comments. The comments box appears below the page.
  5. At the top right, click Save.
Add a search bar
  1. On a computer, open a site in Classic Google Sites.
  2. Click More actions Settings and then Manage site.
  3. Under "Enable and configure search options," click Configure search.
  4. Click Enable Search.
  5. Under "Search Providers," choose one or more options.
  6. Click Ok.
  7. At the top, click Save.

Use scripts

You can use Google Apps Scripts to do tasks automatically for your visitors. For example, you can:

  • Send emails and calendar invites.
  • Create content based on your users.
  • Design your own web apps.

Step 1: Create a script

Note: You can’t import Apps Scripts, but you can copy and paste the script into a new file on your site.

  1. On a computer, open a site in Classic Google Sites.
  2. Click More actions Settings and then Manage site.
  3. Click Apps Scripts.
    • To create a script in the editor, click Add new script.
    • To edit a script, click the script in the list.
  4. Edit or paste the script.
  5. Optional: To test your script, go to the toolbar and click Play Play. If you’re asked for permission, click Allow.
  6. In the "File" menu, click Save or Save all.

Step 2: Add your script

You can add your script to a page as a gadget or a link.

Option 1: Add as a gadget

Run your script for someone who opens your page.

Note: The gadget can access and edit any content your Google Account can.

  1. On a computer, open a site in Classic Google Sites.
  2. Go to the page you want to edit.
  3. Click Edit Edit.
  4. Click where you want to insert the script.
  5. Click Insert and then Apps Script.
  6. Follow the instructions in the window.

Option 2: Add as a link

Run your script when someone signed in to their Google Account clicks a link.

  1. On a computer, open a site in Classic Google Sites.
  2. Go to the page you want to edit.
  3. Click Edit Edit.
  4. Select the text you want to link.
  5. Click Link Link.
  6. Click Apps Script and then click the script you want to link to.
  7. Click OK.
  8. Click Save.
Was this article helpful?
How can we improve it?