diff options
author | HombreLaser <sebastian-440@live.com> | 2023-08-27 02:40:08 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-08-27 02:40:08 -0600 |
commit | ac6772f292a83217e10e38ba853c76b5666133e0 (patch) | |
tree | d0d4eb27d9482dc275d75f48a2ca029d825e52a6 /_includes/analytics.html |
Commit inicial
Diffstat (limited to '_includes/analytics.html')
-rw-r--r-- | _includes/analytics.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/_includes/analytics.html b/_includes/analytics.html new file mode 100644 index 0000000..4af718b --- /dev/null +++ b/_includes/analytics.html @@ -0,0 +1,11 @@ +{% if site.gaaccount != '' %} + <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.gaaccount }}', 'auto'); + ga('send', 'pageview'); + </script> +{% endif %} |