Adding a Custom Script to your Website

Adding a Custom Script to your Website

🛠️ How to Add Custom Scripts to Your Website

If you have specific tools, tracking codes, or custom features that require JavaScript, you can easily add them to your site using the Custom Scripts tool.

📝 Step-by-Step Instructions

  1. Log In to Websites 

    Scroll to the bottom of your webpage and click the Websites Login link to enter editing mode.

  2. Open Advanced Settings 

    Locate the black editing bar at the top of your screen and click on the Advanced dropdown menu.

  3. Navigate to Custom Scripts 

    From the list of options, select Custom Scripts.

  4. Initiate a New Script 

    Click the Create New Script button to open the editor.

  5. Enter Your Code 

    Paste your JavaScript directly into the black code box provided.

  6. Name Your Script 

    Give your script a clear name (e.g., "Chat Widget" or "Heatmap Tracking") so you can easily identify it later.

  7. Choose Placement 

    Select the script's placement from the dropdown menu (usually Header or Footer, depending on the provider's instructions).

  8. Save Your Changes 

    Press the Save button to apply the script to your live website.

⚠️ A Note of Caution: Adding custom scripts can significantly change how your website functions. Always ensure your code comes from a trusted source and double-check your site's performance after saving!