Commit 9dd9422a by Victor Shnayder

Remove google analytics tracking from iframes used in Drupal course about pages

This fixes two issues:
 - if the course pointed to doesn't exist, GA was added to the iframe twice
 - more importantly, we don't want to count these as separate views anyway--
   we just care about the about page itself.
 - I also added a note about where we would put our segment.io widget if we want it
   later

LMS-2581
parent 37d3d4a8
......@@ -13,10 +13,6 @@
<%block name="bodyclass">view-iframe-content view-partial-mktgregister</%block>
<%block name="headextra">
<%include file="../google_analytics.html" />
</%block>
<%block name="js_extra">
<script type="text/javascript">
(function() {
......
......@@ -22,9 +22,9 @@
<%block name="headextra"/>
% if not course:
<%include file="google_analytics.html" />
% endif
<!-- NOTE: if we want segment io on these iframes at some point, put
include file="widgets/segment-io.html"
here -->
<!-- repeated button styles needed for IE (copied from _shame.scss) -->
<style type="text/css" media="screen">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment