In the Page ribbon [1] you have Page HTML [2] option.
If you click on it a window named Page HTML will open.
You can insert your HTML code as a header or footer of your page.
To insert Header HTML click on HTML above page [1].
To insert Footer HTML click on HTML below page [2].