mirror of
https://github.com/corda/corda.git
synced 2025-01-18 10:46:38 +00:00
Merged in rg_adding_analytics_to_docs (pull request #535)
Adding analytics to docs part of website
This commit is contained in:
commit
420b992b1b
21
docs/source/_templates/layout_for_doc_website.html
Normal file
21
docs/source/_templates/layout_for_doc_website.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!-- -->
|
||||
|
||||
{% extends "!layout.html" %}
|
||||
{% block sidebartitle %}
|
||||
{{ super() }}
|
||||
<br>
|
||||
<a href="api/index.html">API reference</a>
|
||||
{% endblock %}
|
||||
|
||||
{% block footer %}
|
||||
<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-87760032-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
</script>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user