Prerequisites / Requirements
Access to your Sitebuilder.
Secure and tested HTML, CSS, or JavaScript code.
Basic knowledge of the code you want to add.
⚠️ Important: Custom code can affect your website's appearance and functionality. Only add code from trusted sources and test it before publishing.
Step-by-Step Instructions
Option 1: Add Code to the Entire Website
Use Site Scripts when you want code to apply across your entire website. This is useful for analytics, tracking pixels, chat tools, and other external services.
Click Pages in the top menu.
Select Site Scripts.
Choose Head Scripts or Body Scripts.
Paste your code into the appropriate field.
Click Save Changes.
💡 Tip: Use Head Scripts for tracking and metadata, and Body Scripts for functional scripts.
Option 2: Add Code to a Specific Page or Section
Use the Embed widget to add content such as YouTube videos, maps, social media feeds, forms, or custom HTML.
Click Add Content in the top menu.
Select Add Widget.
Find the Embed widget.
Drag and drop it to the desired location on the page.
Click the widget and select Edit Code.
Paste your code.
Click Save.
Option 3: Add Code to a Specific Page
Use Page Scripts when you want code to apply only to one page, such as animations, interactive features, or third-party integrations.
Click Pages in the top menu.
Find the page where you want to add the code.
Click the three-dot icon (⋯) next to the page.
Select Edit Page Scripts.
Choose Head Scripts or Body Scripts.
Paste your code.
Click Save Changes.
Visuals & Examples
Choose the method based on where the code should apply:
Method | Applies to | Common uses |
Site Scripts | Entire website | Analytics, tracking, chat tools |
Embed Widget | Specific location on a page | Videos, maps, forms, HTML |
Page Scripts | One specific page | Animations, integrations, interactive features |
Troubleshooting / FAQs
Which option should I use for Google Analytics or tracking code?
Use Site Scripts if the code needs to apply across your entire website.
How can I add code to only one page?
Use Page Scripts from the page's three-dot menu.
How can I add a video, map, or social media feed?
Use the Embed widget and paste the provider's embed code.
Can custom code affect my website?
Yes. Incorrect or insecure code can affect your website's design or functionality.
Always test your code before publishing.
Summary / Next Steps
Use Site Scripts for website-wide code, Page Scripts for page-specific code, and the Embed widget for content added to a specific location. Always use secure, tested code and check your website before publishing.
