From df83c87e606d09a3c203009f193d9c36ded0d665 Mon Sep 17 00:00:00 2001 From: asadiqbal Date: Thu, 20 Aug 2015 16:11:37 +0500 Subject: [PATCH] MAYN-116 Including GTM code from microsite --- lms/templates/google_tag_manager.html | 4 ++++ lms/templates/main.html | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 lms/templates/google_tag_manager.html diff --git a/lms/templates/google_tag_manager.html b/lms/templates/google_tag_manager.html new file mode 100644 index 0000000000..b3c6892d0e --- /dev/null +++ b/lms/templates/google_tag_manager.html @@ -0,0 +1,4 @@ +<%doc> + Yet, installing google tag manager for microsite(s). + So intentionally left it blank + diff --git a/lms/templates/main.html b/lms/templates/main.html index 1ff63edf9d..93cef17af1 100644 --- a/lms/templates/main.html +++ b/lms/templates/main.html @@ -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 +<%include file="${google_tag_manager_file}" />
% if not disable_window_wrap: