Exclusive to PortfolioPlus and ProSuite subscribers. Trials must upgrade to receive this feature.
In addition to the custom Code Block that allows you to add custom coded content for a variety of reasons, you can also add custom code to your website's <head> tag when needed. Some custom code may require you to add a portion of the code to your website's <head> tag, for example verification of your website to use with Google Search Console does require a verification code be placed in your site's <head> tag.
In this article we will go over how to access your website's <head> tag option, and a couple use cases for this tool.
Adding Custom Code to Your Site's <head> Tag
- In your Zenfolio account, click on the Website icon on the left-hand side.
- In your Website Editor, go to the Settings tab.
- In the Site Settings, scroll down to the Custom <head> section and click on HTML Code Editor.
- Paste your code into the window provided. Please verify that the code you're pasting is correctly formatted and written for best results.
- Click on Done.
- Click on the Publish button once you've completed your changes, and choose Publish Site.
Changes made to the <head> tag may result in a broken site. We do not provide technical support for changes made to custom HEAD code. If you encounter problems you will need to remove content added to this section.
Example Use Cases For Adding Custom Code to the <head> Tag
Google Search Console Verification
The Google Search Console, previously known as Google Webmaster Tools, helps you measure your site's Search traffic and performance, as well as detecting possible issues with the site that could impact search-ability.
To get started with Google Search Console, for those that have never used it before, go to https://search.google.com/search-console/welcome and create a URL Prefix property by entering in your full website URL including https:// at the beginning. (i.e. https://yourwebsite.zenofliosite.com or https://www.yourwebsite.com)
- After creating your property, you'll be provided with options of verifying ownership. Choose the HTML Tag option.
- Copy the Meta tag provided and paste it into the custom <head> tag area of your Zenfolio website, as described above.
- Once your code has been added to your website, and you've Published the site, return to the same Search Console verification page and click on the Verify button specifically for the HTML Tag option.