mirror of
https://github.com/MinimalBible/MinimalBible.github.io
synced 2024-11-13 19:48:37 -05:00
9f81ac8bec
Google will deprecate old ga.js. Change to new analytics.js, and also use the new version of the enhanced link attribution module.
17 lines
901 B
HTML
17 lines
901 B
HTML
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
|
<script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
|
|
<script src="{{ site.url }}/assets/js/scripts.min.js"></script>
|
|
{% if site.google_analytics %}
|
|
<!-- Asynchronous Google Analytics snippet -->
|
|
<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','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', '{{ site.google_analytics }}', 'auto');
|
|
ga('require', 'linkid', 'linkid.js');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
{% endif %}
|
|
{% if page.comments %}{% include disqus_comments.html %}{% endif %} |