<script src="https://cdn.jsdelivr.net/velocity/1.3.2/velocity.min.js" integrity="sha384-21By3Gp2UaTMW8pu7FcTDuQUwfJdeOLf1WcWaZ+Q8EHANpokjnq4GH7cvaCt0E6F" crossorigin="anonymous"></script>
<script src="{{ site.baseurl }}/js/main.js"></script>
<script>
  (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
  function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
  e=o.createElement(i);r=o.getElementsByTagName(i)[0];
  e.src='//www.google-analytics.com/analytics.js';
  r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
  ga('create','UA-40099364-1');ga('send','pageview');
</script>

<script src="https://cdn.jsdelivr.net/velocity/1.3.2/velocity.min.js" integrity="sha384-21By3Gp2UaTMW8pu7FcTDuQUwfJdeOLf1WcWaZ+Q8EHANpokjnq4GH7cvaCt0E6F" crossorigin="anonymous"></script>
<script src="{{ site.baseurl }}/js/main.js"></script>
<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-40099364-1', 'auto');
  ga('send', 'pageview');
</script>

Update to latest GA tracking script
Update to latest GA tracking script
