Scripts widget (custom JavaScript)
The Scripts widget adds JavaScript to the page. It is under Advanced and should be used only when necessary — incorrect scripts can break the site or affect security.
When to use it
- Small integrations approved by your organization (analytics snippets where no dedicated setting exists, custom UI behavior).
- Only if you understand JavaScript or have developer approval.
Add a Scripts widget
- Edit page content or Layouts.
- Drag Scripts from Advanced.
- Click Edit.
Settings
| Setting | Meaning |
|---|---|
| Script | Your JavaScript code (the platform may wrap it in a <script> element). |
| Place to | Where widget dropped — runs in the body flow. In page header — runs from <head> (may affect load order). |
Security and performance
- Never paste scripts from unknown emails, forums, or “SEO plugins” without verification.
- Prefer official Settings or Branding options when available instead of arbitrary script injection.
- Heavy scripts slow pages; keep code minimal.
Who should edit this?
Typically administrators or developers. Your role may not include Advanced widgets — see Website users and access levels.