Sign in

Inserting code into header

  • This topic has 2 replies, 2 voices, and was last updated 1 year, 8 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #6771
    Avatar photoTheIML

    I am currently using Mercury 2.2 with the WYSIWYG setting and I am new to Publii. I want to insert code into the <head> of every page. As the site grows I’ll be looking at Google Adsense (maybe), Shopify and possibly some other scripts. They will need to some script inserted into the <HEAD> tag. I can’t seem to do this through the theme. Is there an easy approach to getting code into the Head tag?

    Avatar photoBob

    Just use the Custom HTML tool.

    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    Avatar photoTheIML

    Argh. I feel like an idiot. I’m still getting used to all the sections. Yep that’s perfect. Thanks for the quick reply

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.