Hello,
Sure, this can be done very easily. We have a
Head HTML code web part for it, so you can just place it on that page/template you have mentioned and fill its
HTML code property with your own code. The only problem is, that this web part appends your code before the ending head tag and you want to have it immediately after the head tag, so please just edit the web part's source code in the
\CMSWebParts\General\headhtml.ascx.cs file and update the
OnPreRender method:
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
if (this.StopProcessing)
{
// Do nothing
}
else
{
// this.Page.Header.Controls.Add(new LiteralControl(this.HTMLCode));
this.Page.Header.Controls.AddAt(0, new LiteralControl(this.HTMLCode));
}
}
Best regards,
Jan Hermann