Skip to content

Commit

Permalink
Merge branch 'main' into NOP-31-latitude
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefilter authored Sep 27, 2024
2 parents 123107e + 82dd76f commit d97fa13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/layouts/blacklight/base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','<%= ENV["GOOGLE_TAG_MGR_ID"] %>');</script>
<% end %>
<% if ENV["RAILS_HOST"] && ENV["RAILS_HOST"].include?("stage") %>
<% if ENV["RAILS_HOST"] && (ENV["RAILS_HOST"].include?("stage") || ENV["RAILS_HOST"].include?("test") || ENV["RAILS_HOST"].include?("dev") || ENV["RAILS_HOST"].include?("localhost")) %>
<script defer src="https://test-librarystudy.library.ucla.edu/gsurvey.js"></script>
<% else %>
<script defer src="https://librarystudy.library.ucla.edu/gsurvey.js"></script>
<% end %>
<title><%= render_page_title %></title>

Expand Down

0 comments on commit d97fa13

Please sign in to comment.