mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-11-01 07:17:47 +00:00
11 lines
473 B
HTML
11 lines
473 B
HTML
|
{% if GOOGLE_ANALYTICS %}
|
||
|
<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','{{ GOOGLE_ANALYTICS }}');ga('send','pageview');
|
||
|
</script>
|
||
|
{% endif %}
|