Commit c88f6f442a48ed27204d3cdf09eed1d9de68f4cf
1 parent
1f4ac933
Test adding google analytics
Showing
1 changed file
with
10 additions
and
0 deletions
doc/source/_themes/sphinx13/layout.html
| ... | ... | @@ -57,6 +57,16 @@ |
| 57 | 57 | }); |
| 58 | 58 | </script> |
| 59 | 59 | {%- endif %} |
| 60 | +<script> | |
| 61 | + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
| 62 | + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
| 63 | + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
| 64 | + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | |
| 65 | + | |
| 66 | + ga('create', 'UA-27448879-1', 'auto'); | |
| 67 | + ga('send', 'pageview'); | |
| 68 | + | |
| 69 | +</script> | |
| 60 | 70 | {% endblock %} |
| 61 | 71 | |
| 62 | 72 | {% block rootrellink %} | ... | ... |