Merge pull request #9395 from edx/asadiqbal08/MAYN-116

asadiqbal08/MAYN-116 Including GTM code from microsite
This commit is contained in:
Matt Drayer
2015-09-30 15:40:00 -04:00
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
<%doc>
Yet, installing google tag manager for microsite(s).
So intentionally left it blank
</%doc>

View File

@@ -103,6 +103,7 @@ from branding import api as branding_api
google_analytics_file = microsite.get_template_path('google_analytics.html')
style_overrides_file = microsite.get_value('css_overrides_file')
google_tag_manager_file = microsite.get_template_path('google_tag_manager.html')
%>
% if header_extra_file:
@@ -124,6 +125,7 @@ from branding import api as branding_api
</head>
<body class="${static.dir_rtl()} <%block name='bodyclass'/> lang_${LANGUAGE_CODE}">
<%include file="${google_tag_manager_file}" />
<div id="page-prompt"></div>
% if not disable_window_wrap:
<div class="window-wrap" dir="${static.dir_rtl()}">