<script type="text/javascript">
if (! !!location.hostname.includes('globalforestwatch.org'))
  window.liveSettings={api_key:"9eda410a7db74687ba40771c56abd357",staging:true};
</script>
<script type="text/javascript" src="//cdn.transifex.com/live.js"></script>
<header id="headerView" class="layout-header">
  <div id="headerGfw"></div>
  <div class="layout-header-bottom">
  	<div class="inner">
  		<%= render 'shared/navbar2_landing' %>
  	</div>
  </div>
  <div class="layout-share-mobile">
    <a href="#" class="share-link" data-hideembed="1"><svg><use xlink:href="#shape-share"></use></svg></a>
    <% if content_for?(:headerMobile) %>
      <%= yield :headerMobile %>
    <% end %>
  </div>
</header>
<%= render 'shared/js_config' %>

<script type="text/javascript">
if (! !!location.hostname.includes('www.globalforestwatch.org'))
  window.liveSettings={api_key:"9eda410a7db74687ba40771c56abd357",staging:true};
</script>
<script type="text/javascript" src="//cdn.transifex.com/live.js"></script>
<header id="headerView" class="layout-header">
  <div id="headerGfw"></div>
  <div class="layout-header-bottom">
  	<div class="inner">
  		<%= render 'shared/navbar2_landing' %>
  	</div>
  </div>
  <div class="layout-share-mobile">
    <a href="#" class="share-link" data-hideembed="1"><svg><use xlink:href="#shape-share"></use></svg></a>
    <% if content_for?(:headerMobile) %>
      <%= yield :headerMobile %>
    <% end %>
  </div>
</header>
<%= render 'shared/js_config' %>

Check if it is really the production site
Check if it is really the production site
