Skip to content

Commit

Permalink
Merge pull request #336 from IUBLibTech/GA_refinement
Browse files Browse the repository at this point in the history
Refining Google Analytics in base layout to suppress for dev environments
  • Loading branch information
randalldfloyd authored Apr 22, 2024
2 parents 9d0dc25 + 8d0dde0 commit da489eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/blacklight/base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<%= stylesheet_link_tag "application", media: "all" %>
<%= javascript_include_tag "application" %>
<% if ENV['SITE_HOST']&.include?('.edu') %>
<% unless ENV['SITE_HOST'] =~ /localhost|devel|stage|test|preview/ %>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J2B2XVXX8M"></script>
<script>
Expand Down

0 comments on commit da489eb

Please sign in to comment.