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 +%doc> 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: