Insert to HTML

Mar 25, 2013 at 12:21 AM
Once @Html.HtmlBlock("GOOGLE_ANALYTICS") is created how is the script ("GOOGLE_ANALYTICS") inserted into the html using the editor?
Jun 5, 2014 at 7:34 AM
Same question here as onpadreisle asked, I have created a script block but wasn't quite sure how to add this to my site. I created an Html Widget but that didn't treat the @Html.HtmlBlock("script-name") as razor so it just displayed this as text on my site.

Is the intent that the @Html.HtmlBlock() code is to be added directly to a view in my theme? It would be nice to have a widget for this that let you choose the script block in its configuration.