anchor.diff:      <% end %>
     }}();
     </script>
  +  <!-- end Segment.io -->
  +<% end %>
   
   <script>var stripePubKey="<%=ENV["STRIPE_PUBLIC_KEY"] %>"</script>
   <script src="https://checkout.stripe.com/checkout.js" class="stripe-button">
  
positive.code: 
    <script type="text/javascript">  //prod stripe key</script>
    <script src="//cdn.optimizely.com/js/4397742167.js"></script>
    <!-- start Segment.io -->
  
negative.code: 
      analytics.load("<%= ENV["SEGMENT_WRITE_KEY"] %>");
      analytics.page();
      <% if current_user && current_user.role == 'teacher' %>
        analytics.identify(<%= current_user.id %>, <%= raw(SegmentAnalyticsUserSerializer.new(current_user).to_json(root: false)) %>)
        // Here is where we poll Intercom for new messages.
        setInterval(function() {
  