Found In: Confluence Administration -> Look And Feel -> Custom HTML
At the Custom HTML level You can add global HTML that will be included through the entire site.
This can be links to static CSS files (on the server filesystem or added as an attachment on a page):
<link rel="stylesheet" type="text/css" href="http://www.mysite.dk/download/attachments/4161541/style.css">
This is the only place (GUI wise) that You can add to the <HEAD> tag.
Its a logical place to place things like extra JavaScripts and global styling, like Google Analytics:
<script type="text/javascript"> if (!AJS.$('body').is('.login')) { // don't track logins var _gaq = _gaq || []; _gaq.push(['_setAccount', '*******']); _gaq.push(['_trackPageview']); if (AJS.params.spaceKey) { // add the customVar to slot 1 with label 'confluence-space-key', value AJS.params.spaceKey & set the scope to page-level _gaq.push(['_setCustomVar', 1, 'confluence-space-key', AJS.params.spaceKey, 3 ]); } (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); } </script> <!--GOOGLE-ANALYTICS-PLUGIN-END-->
Unable to render {include} The included page could not be found.