VD Website Builder | Using HTML Injection
In this guide, you’ll learn how to use the HTML injection feature to insert custom HTML or scripts into your website. By the end, you’ll be able to add elements like tracking codes, styles, or third‑party integrations with ease.
On this page
- What HTML injection does
- How to access the HTML injection settings
- Understanding the head HTML section
- Understanding the body end HTML section
- How to insert your custom HTML code
What HTML injection does
The HTML Injection feature in Website Builder allows you to insert custom HTML code directly into your website’s <head> or <body> tags. This is useful if you need to include:
- Third‑party tracking scripts (e.g., analytics tools)
- Custom styles or fonts
- Meta tags or verification codes
- Other advanced integrations that require direct code access to your site’s HTML structure
How to access the HTML injection settings
- On the side menu of your Website Editor, click on Settings.
- On the Settings panel, click HTML Injection.
This will open the section where you can manage your custom code.
Understanding the HEAD HTML section
The HEAD HTML field lets you insert code into the <head> tag of your website.
This area is ideal for:
- Meta titles and descriptions
- CSS styles
- Tracking codes or verification scripts
Understanding the BODY END HTML section
The BODY END HTML field lets you insert JavaScript into the closing <body> tag of your website.
How to insert your custom HTML code
To add your code, follow these steps:
- Click on HEAD HTML or BODY END HTML depending on where your code needs to go. A pop-up window will appear.
- Enter or paste your HTML code or script.
- Click SAVE.
- Publish the website to make the updates live.
Once published, your custom code will be applied to your entire site.
You're all set!
You’ve successfully learned how to use HTML injection in your Website Builder. Your custom code is now integrated across your site, helping you enhance functionality and add advanced features. If you make further changes, simply republish your website to apply them instantly.