mirror of
https://github.com/minio/docs.git
synced 2025-07-28 19:42:10 +03:00
Attempting to integrate Google Analytics
Including crazyegg script moving gtag script into head
This commit is contained in:
@ -1,8 +1,25 @@
|
|||||||
{# Import the theme's layout. #}
|
{# Import the theme's layout. #}
|
||||||
{% extends "!layout.html" %}
|
{% extends "!layout.html" %}
|
||||||
|
|
||||||
|
|
||||||
{# Custom CSS overrides #}
|
{# Custom CSS overrides #}
|
||||||
|
|
||||||
|
{% block extrahead %}
|
||||||
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-56860620-1"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
gtag('config', 'UA-56860620-1');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{{ super() }}
|
||||||
|
|
||||||
|
<script type="text/javascript" src="//script.crazyegg.com/pages/scripts/0088/9671.js" async="async"></script>
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{# Override content block #}
|
{# Override content block #}
|
||||||
|
|
||||||
{%- macro miniosidebar() %}
|
{%- macro miniosidebar() %}
|
||||||
@ -57,6 +74,7 @@
|
|||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
{%- block header %}
|
{%- block header %}
|
||||||
|
|
||||||
<header class="header">
|
<header class="header">
|
||||||
<i class="toggle-icon toggle-icon--docs" data-toggle="sidebar"></i>
|
<i class="toggle-icon toggle-icon--docs" data-toggle="sidebar"></i>
|
||||||
<a
|
<a
|
||||||
@ -108,4 +126,5 @@
|
|||||||
</div>
|
</div>
|
||||||
{%- endblock %}
|
{%- endblock %}
|
||||||
|
|
||||||
{%- block footer %}{%- endblock %}
|
{%- block footer %}
|
||||||
|
{%- endblock %}
|
Reference in New Issue
Block a user