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

Adding a custom code to the <head></head> part of a website's code

Within Hostinger Website Builder, open the integrations settings, and find the Custom code field:

This special field allows you to paste a custom script into the <head></head> part of your website’s code. Simply paste your code there, save the changes, and update your website.


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.


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

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

Did this answer your question?