diff --git a/cms/templates/base.html b/cms/templates/base.html
index f4e7907954..9332d92263 100644
--- a/cms/templates/base.html
+++ b/cms/templates/base.html
@@ -15,6 +15,7 @@ from openedx.core.djangolib.js_utils import (
dump_js_escaped_json, js_escaped_string
)
from openedx.core.djangolib.markup import HTML
+from openedx.core.release import RELEASE_LINE
%>
<%page expression_filter="h"/>
@@ -24,6 +25,7 @@ from openedx.core.djangolib.markup import HTML
+
<%block name="title">%block> |
% if context_course:
diff --git a/lms/templates/main.html b/lms/templates/main.html
index 4b5b477a20..afd20ba32d 100644
--- a/lms/templates/main.html
+++ b/lms/templates/main.html
@@ -19,6 +19,7 @@ from django.utils.http import urlquote_plus
from django.utils.translation import ugettext as _
from django.utils.translation import get_language_bidi
from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_string
+from openedx.core.release import RELEASE_LINE
from pipeline_mako import render_require_js_path_overrides
%>
@@ -122,6 +123,7 @@ from pipeline_mako import render_require_js_path_overrides
+
<% ga_acct = static.get_value("GOOGLE_ANALYTICS_ACCOUNT", settings.GOOGLE_ANALYTICS_ACCOUNT) %>
% if ga_acct: