Skip to main content

Embed Custom Code in Your Website or Page Settings

Learn how to add custom HTML, CSS, or embed third-party widgets into your Durable website

Stu avatar
Written by Stu
Updated over a week ago

Add tracking pixels, verification tags, or custom scripts to your site by embedding code directly into your website’s header or footer—or on individual pages for targeted functionality.

Here’s how to add custom code in your Durable website editor:

  1. Open Website Settings

    • From your dashboard, click Website in the left sidebar.

    • Select the Settings tab at the top.

  2. Add Global Head or Footer Code

    • Under Custom code, locate Head Code to insert markup at the end of your <head> tag (for meta tags or CSS).

    • Paste your code into the Head Code box.

    • Locate Footer Code to insert scripts before the closing </body> tag (for analytics or chat widgets).

    • Paste your script into the Footer Code box.


  3. Enable Force Render (Optional)

    • If your embed or custom block is not displaying correctly, toggle on Force custom code render at the bottom.

  4. Save Your Changes

    • Click Save to apply your custom code site-wide.


Page-Level Custom Code

Apply scripts or embeds only to a specific page for A/B testing or targeted functionality:

  1. Edit the Page

    • In your website editor, click Pages, then hover over the page you want and select Settings.

  2. Insert Custom Code

    • Scroll to the Custom code section in the Page Settings panel.

    • Paste your code into Head Code or Footer Code just as you would in global settings.


  3. Force Custom Code Render (Optional)

    • Toggle on Force custom code render if needed.

  4. Save and Publish

    • Click Save, then Publish in your main editor to make the changes live.


By embedding custom code, you can integrate third-party tools, verify domains, or add tracking without developer help. If you run into any challenges or need extra guidance, our team is here to support you just reach out anytime!

Did this answer your question?