All Collections
Website builder
Integrations
Website Builder: How to Add a Custom Code to the <head></head> Part of a Website's Code
Website Builder: How to Add a Custom Code to the <head></head> Part of a Website's Code
Learn how to add custom codes to your website created with Hostinger Website Builder
Updated over a week ago

With the help of custom codes, you can connect third-party integrations or verify the ownership of your website or domain for various services and platforms, e.g., Google Search Console, Facebook, AdSense, and the like:

Add a Custom Code to the <head></head> Part of a Website's Code

Within the builder, go to Website settings → Integrations:

Accessing the website's integrations settings in Hostinger Website Builder

Paste the code into the Custom code field:

Adding custom codes in Hostinger Website Builder

Save the changes and update your website.

NOTES:

  • In the Custom code field, you can paste as many codes as you need: simply paste one below another and don't paste a code in the middle of another code

  • If you want to add a custom code to the <body></body> part of your website's code, use embed code elements

  • Changes made by custom codes are visible in the website's preview mode and online, not within the editor


Troubleshoot

First, make sure that you've inserted the correct script and updated your website. Updating your website is necessary to push the newly added script to your website's source code.

If you've done everything right, but the website/integration isn't working as expected, contact us for help.

Did this answer your question?