<!DOCTYPE HTML>
<html>
<head>
  <%= favicon_tag 'images/favicon.ico' %>
  <meta charset="UTF-8" />
  <title>zero</title>
  <%= stylesheet_link_tag "normalize", "all" %>
</head>
<body>
<%= javascript_include_tag 'all' %>

<!-- Piwik -->
<script type="text/javascript">
  var _paq = _paq || [];
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//analytics.bryanbibat.net/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', 12]);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<noscript><p><img src="//analytics.bryanbibat.net/piwik.php?idsite=12" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
</body>
</html>

<!DOCTYPE HTML>
<html>
<head>
  <%= favicon_tag 'images/favicon.ico' %>
  <meta charset="UTF-8" />
  <title>zero</title>
  <%= stylesheet_link_tag "normalize", "all" %>
</head>
<body>
<%= javascript_include_tag 'all' %>

<% if build? %>
  <!-- Piwik -->
  <script type="text/javascript">
    var _paq = _paq || [];
    _paq.push(['trackPageView']);
    _paq.push(['enableLinkTracking']);
    (function() {
      var u="//analytics.bryanbibat.net/";
      _paq.push(['setTrackerUrl', u+'piwik.php']);
      _paq.push(['setSiteId', 12]);
      var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
      g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
    })();
  </script>
  <noscript><p><img src="//analytics.bryanbibat.net/piwik.php?idsite=12" style="border:0;" alt="" /></p></noscript>
  <!-- End Piwik Code -->
<% end %>
</body>
</html>

Add analytics only on build
Add analytics only on build
