    <footer class="footer-distributed">
      <div class="container">
        <div class="footer">
          <p>Theme by Pavel Makhov &copy; 2015</p>
          <img src="https://nojsstats.appspot.com/UA-87499239-1/www.xenrelay.com?r={{ page.url | absolute_url }}" />
          {% include social.html %}
        </div>
      </div>
    </footer>
  </body>
</html>

    <footer class="footer-distributed">
      <div class="container">
        <div class="footer">
          <p>Theme by Pavel Makhov &copy; 2015</p>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-87499239-1', 'auto');
  ga('send', 'pageview');

</script>
          {% include social.html %}
        </div>
      </div>
    </footer>
  </body>
</html>

Replace non-functional image-based Google Analytics with regular Google Analytics code.
Replace non-functional image-based Google Analytics with regular Google Analytics code.
