Skip to content

Commit

Permalink
feat: add survey for lib cost study to production
Browse files Browse the repository at this point in the history
  • Loading branch information
pghorpade committed Sep 24, 2024
1 parent 67748b9 commit 52714a1
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 @@ -21,8 +21,10 @@
})(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 52714a1

Please sign in to comment.