How to Add HTML Code into the Site Header

Modified on Fri, 01 Dec 2023 at 09:35 AM

This article describes how to add HTML code into the header of all pages, or just one page, of a website. In some external service manuals, adding code in the header can also be described as adding code between your site's <head> and </head> tags. 


How to add HTML code into the header of all pages

1. Click Settings 

2. Go to Website Settings and find the HTML header/footer on the right and paste the code into the prepared window. Then click Save and publish the changes.

 

The code is added into the header of all pages when you embed the Facebook Pixel on your site, or when you insert the basic code to link to Google AdSense for example. If you add additional code into the header, just paste it below the existing one.

How to add HTML code into the header of a particular page

1. Click Pages. 


2. Click on the selected page in the left column and expand the SEO page settings. Scroll down and paste the code into the prepared Custom HTML header code Then publish the changes.


The code is inserted in the header of one of the pages when you add your site to Google Search Console for example. If you add additional code to the header, just paste it below the existing one.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article